Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.001671/0.001671, 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.001975/0.001975, allocations: 193.6 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.319/2.319, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5434, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001714/0.5452, allocations: 0.8115 MB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.743e-05/0.5453, allocations: 48.94 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.5453, allocations: 1.219 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.5454, allocations: 13.22 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.5455, allocations: 7.922 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.099e-05/0.5455, allocations: 16.17 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.5456, allocations: 63.47 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.5457, allocations: 44.78 kB / 0.9507 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.5458, allocations: 24.19 kB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.5458, allocations: 35.98 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.5458, allocations: 6.312 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.5459, allocations: 5.875 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.5459, allocations: 14.5 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.5459, allocations: 34.08 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.546, allocations: 71.03 kB / 0.9509 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.546, allocations: 0 / 0.9509 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.546, allocations: 1.156 kB / 0.9509 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.546, allocations: 3.938 kB / 0.9509 GB, free: 8.254 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.0002907/0.5463, allocations: 381.8 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.5464, allocations: 10.75 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.5464, allocations: 40.95 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.5464, allocations: 8.875 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5466, allocations: 202.6 kB / 0.9515 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.5466, allocations: 8.203 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5466, allocations: 8.125 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5467, allocations: 89.98 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5467, allocations: 3.938 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5467, allocations: 5.344 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5468, allocations: 1.344 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.5468, allocations: 43.94 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5472, allocations: 433.4 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.268e-05/0.5472, allocations: 33.34 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.5473, allocations: 27.53 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.5473, allocations: 0 / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.5473, allocations: 41.11 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.5473, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.5475, allocations: 58.64 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.5475, allocations: 77.36 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5476, allocations: 163.7 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.5476, allocations: 26.86 kB / 0.9525 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.5477, allocations: 115.8 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.5477, allocations: 5.031 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.5477, allocations: 17.88 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.5477, allocations: 324.5 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.5478, allocations: 3.812 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.5478, allocations: 21.94 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.5478, allocations: 31.17 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5478, allocations: 3.938 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.992e-05/0.5479, allocations: 59.55 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5479, allocations: 9.594 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5479, allocations: 1.719 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5479, allocations: 0 / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.548, allocations: 13.14 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.548, allocations: 1.375 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.5481, allocations: 2.812 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.5481, allocations: 1.438 kB / 0.9531 GB, free: 6.023 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.449e-05/0.5481, allocations: 112.2 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.5482, allocations: 12.41 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.5482, allocations: 10.97 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5482, allocations: 5.422 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.5482, allocations: 0 / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5482, allocations: 5.688 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.5485, allocations: 473 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5485, allocations: 1.094 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.5485, allocations: 2.844 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5485, allocations: 1.094 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.5485, allocations: 1.094 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5485, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5485, allocations: 5.156 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.713e-05/0.5486, allocations: 86.11 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.5486, allocations: 88.17 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.5486, allocations: 1 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.5487, allocations: 1.188 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.5487, allocations: 5.172 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.5487, allocations: 4.969 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.5488, allocations: 129.2 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5488, allocations: 0 / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002022/0.549, allocations: 7.406 kB / 0.954 GB, free: 5.07 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.0002052/0.5492, allocations: 0.6147 MB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.201e-05/0.5493, allocations: 15.41 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5493, allocations: 4 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.5493, allocations: 8.188 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.5494, allocations: 8.641 kB / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.5503, allocations: 1.333 MB / 0.9559 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.5504, allocations: 0.6979 MB / 0.9566 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.5504, allocations: 17.44 kB / 0.9566 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.5505, allocations: 18.56 kB / 0.9566 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5505, allocations: 1.062 kB / 0.9566 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.5662, allocations: 1.528 MB / 0.9581 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.562, allocations: 7.016 kB / 0.9581 GB, free: 1.613 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_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_To_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches