Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.001899/0.001899, allocations: 112.5 kB / 15.73 MB, free: 76 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.002233/0.002233, allocations: 189.7 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.512/2.512, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.719/4.719, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002807, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4584, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003631/0.4621, allocations: 0.8801 MB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002302/0.4624, allocations: 59.66 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.4625, allocations: 4 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.631e-05/0.4626, allocations: 11.86 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.4627, allocations: 15.81 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.988e-05/0.4628, allocations: 23.97 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.4631, allocations: 79.81 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.4634, allocations: 49.11 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4635, allocations: 31.8 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4637, allocations: 43.72 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.4637, allocations: 8 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.4637, allocations: 8 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.4638, allocations: 11.94 kB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.4639, allocations: 43.73 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.4642, allocations: 103.7 kB / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.4642, allocations: 4 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4642, allocations: 4 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.4643, allocations: 0 / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008568/0.4651, allocations: 399.2 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.4652, allocations: 8.031 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.4653, allocations: 42.75 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.4654, allocations: 12.84 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.4658, allocations: 218 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4658, allocations: 4.562 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.4659, allocations: 12.38 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.4662, allocations: 109.6 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4662, allocations: 0 / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4663, allocations: 0 / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4663, allocations: 4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4665, allocations: 47.91 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4675, allocations: 468.5 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.4676, allocations: 37.09 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.4677, allocations: 21.84 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4678, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.4678, allocations: 34.55 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.4678, allocations: 4 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003032/0.4682, allocations: 57.55 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.4683, allocations: 77.11 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.4686, allocations: 186.6 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4687, allocations: 25.7 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4688, allocations: 112 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4688, allocations: 7.953 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.4689, allocations: 21.97 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.4692, allocations: 322.8 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.4692, allocations: 8 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-05/0.4693, allocations: 21.64 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.4694, allocations: 29.72 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4694, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001702/0.4696, allocations: 69.53 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.4696, allocations: 8 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4697, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4697, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.4698, allocations: 4 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4698, allocations: 4 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.4699, allocations: 11.88 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4699, allocations: 4 kB / 1.17 GB, free: 3.289 MB / 0.92 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 0.0001433/0.4701, allocations: 117.9 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.4702, allocations: 11.91 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.4702, allocations: 16.55 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4703, allocations: 224 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.4703, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4703, allocations: 7.875 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.4711, allocations: 478.8 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4711, allocations: 4.062 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.4711, allocations: 4 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4711, allocations: 3.938 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4712, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4712, allocations: 3.938 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4712, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.4713, allocations: 77.89 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4715, allocations: 93.09 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.4715, allocations: 7.922 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.4716, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.4716, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.4716, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001905/0.4718, allocations: 136.3 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4718, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003739/0.4722, allocations: 12 kB / 1.171 GB, free: 2.215 MB / 0.92 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.0007885/0.473, allocations: 0.6209 MB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.4732, allocations: 23.92 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4732, allocations: 0 / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.4732, allocations: 12.22 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4735, allocations: 11.94 kB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.476, allocations: 1.392 MB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.4766, allocations: 0.7042 MB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.4767, allocations: 8.547 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.4768, allocations: 27.44 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.4768, allocations: 0 / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.5143, allocations: 1.739 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.28, allocations: 9.609 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches