Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6647 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8127 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.586, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.00177/0.5878, allocations: 0.8031 MB / 0.9505 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.882e-05/0.5879, allocations: 49.22 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.5879, allocations: 1.375 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.588, allocations: 15.8 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.5881, allocations: 9.25 kB / 0.9506 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.781e-05/0.5881, allocations: 20.11 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.5882, allocations: 55.28 kB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.5883, allocations: 52.44 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.5884, allocations: 28.05 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.522e-05/0.5884, allocations: 27.92 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.5884, allocations: 6.875 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.5884, allocations: 5.5 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.5885, allocations: 18.67 kB / 0.9508 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.5885, allocations: 30.69 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.895e-05/0.5886, allocations: 78.31 kB / 0.9509 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5886, allocations: 0 / 0.9509 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5886, allocations: 4 kB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5886, allocations: 1.375 kB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002835/0.5889, allocations: 378.5 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5889, allocations: 9.625 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.665e-05/0.589, allocations: 40.11 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.589, allocations: 10.34 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5891, allocations: 189.8 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5892, allocations: 8.5 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5892, allocations: 4.5 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5893, allocations: 102 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.5893, allocations: 3.938 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5893, allocations: 1.375 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5893, allocations: 1.375 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.5894, allocations: 36.08 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.5898, allocations: 441.8 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.5898, allocations: 36.47 kB / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.5899, allocations: 22.92 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.5899, allocations: 1.406 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.5899, allocations: 40.12 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5899, allocations: 0 / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.59, allocations: 54.11 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.5901, allocations: 78.86 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5902, allocations: 163.4 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.5902, allocations: 25.7 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.5902, allocations: 113.1 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.5903, allocations: 15.84 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.5903, allocations: 17.89 kB / 0.9526 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.5903, allocations: 320.3 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.5903, allocations: 8.062 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.5904, allocations: 18.67 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.5904, allocations: 33.84 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5904, allocations: 1.375 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.051e-05/0.5905, allocations: 54.44 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.5905, allocations: 9.469 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.5905, allocations: 4 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5905, allocations: 1.031 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.5906, allocations: 5.406 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5906, allocations: 5.125 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.5906, allocations: 2.812 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.5906, allocations: 9.406 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.5907, allocations: 108.4 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.5907, allocations: 16.12 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.5908, allocations: 11.02 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5908, allocations: 1.219 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5908, allocations: 0 / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5908, allocations: 1.562 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.591, allocations: 477.7 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.591, allocations: 1.594 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.5911, allocations: 1.719 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5911, allocations: 1.75 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.5911, allocations: 0 / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5911, allocations: 1.469 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5911, allocations: 0 / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.631e-05/0.5912, allocations: 86.27 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.5912, allocations: 100.7 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.5912, allocations: 1.094 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.5912, allocations: 1.094 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.5912, allocations: 1.188 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5913, allocations: 1.062 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.5913, allocations: 120.2 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5913, allocations: 0 / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001938/0.5915, allocations: 16.03 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.5917, allocations: 0.6173 MB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.5918, allocations: 14.34 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5918, allocations: 9.219 kB / 0.9546 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.5918, allocations: 11.72 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.592, allocations: 7.891 kB / 0.9546 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.5928, allocations: 1.319 MB / 0.9559 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.222e-05/0.5929, allocations: 0.6943 MB / 0.9566 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.5929, allocations: 8.578 kB / 0.9566 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.5929, allocations: 23.47 kB / 0.9566 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5929, allocations: 4 kB / 0.9566 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.6083, allocations: 1.54 MB / 0.9581 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.806, allocations: 7.547 kB / 0.9581 GB, free: 1.559 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches