Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5731, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002287/0.5754, allocations: 1.648 MB / 0.9505 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.976e-05/0.5755, allocations: 54.64 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.5756, allocations: 1.375 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.5756, allocations: 7.922 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.5757, allocations: 10.67 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.453e-05/0.5757, allocations: 17.36 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.5758, allocations: 76.58 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.5759, allocations: 15.05 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.576, allocations: 21.55 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.576, allocations: 37.45 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.5761, allocations: 4.125 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.5761, allocations: 3.719 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.5761, allocations: 13.05 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.5761, allocations: 26.62 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.435e-05/0.5762, allocations: 62.77 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5762, allocations: 1.062 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5762, allocations: 0 / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5762, allocations: 0 / 0.9509 GB, free: 7.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004919/0.5767, allocations: 396.8 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5768, allocations: 14.47 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.5768, allocations: 3.594 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.5769, allocations: 172.4 kB / 0.9514 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.5769, allocations: 9.891 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5769, allocations: 3.125 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.5772, allocations: 98.86 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5772, allocations: 0 / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5772, allocations: 5.125 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5772, allocations: 1.25 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.5777, allocations: 103.6 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.578, allocations: 307.6 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.5783, allocations: 86.81 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.5785, allocations: 74.3 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.5786, allocations: 4 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.5786, allocations: 31.72 kB / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5786, allocations: 0 / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006926/0.5793, allocations: 196.9 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.5793, allocations: 52.94 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.5794, allocations: 119.7 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.5794, allocations: 25.7 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.5794, allocations: 86.89 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.5795, allocations: 26.48 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5795, allocations: 17.94 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.5796, allocations: 332.3 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.5798, allocations: 46.98 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.58, allocations: 55.72 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.5803, allocations: 108.5 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5804, allocations: 0 / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004262/0.5808, allocations: 136.7 kB / 0.9533 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5808, allocations: 9.391 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5808, allocations: 0 / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5808, allocations: 1.219 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.581, allocations: 29.03 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.581, allocations: 0 / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5811, allocations: 18.08 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.5811, allocations: 2.562 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 6.102e-05/0.5812, allocations: 124.4 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.5812, allocations: 2.594 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.5813, allocations: 9.781 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5813, allocations: 1.062 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5813, allocations: 0 / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5813, allocations: 1.281 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.5814, allocations: 190.2 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5814, allocations: 1.531 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5816, allocations: 36.88 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5816, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5816, allocations: 1.438 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5816, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5816, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.5821, allocations: 245 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.5821, allocations: 82.52 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5821, allocations: 1.312 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.5823, allocations: 17.69 kB / 0.954 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.5823, allocations: 11.39 kB / 0.954 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.5823, allocations: 1.406 kB / 0.954 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.5824, allocations: 100.1 kB / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5824, allocations: 0 / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002241/0.5826, allocations: 19.91 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 9.819e-05/0.5827, allocations: 101.9 kB / 0.9543 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.5832, allocations: 115.9 kB / 0.9544 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5832, allocations: 3.938 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5834, allocations: 57.75 kB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.5837, allocations: 18.03 kB / 0.9544 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.584, allocations: 180.2 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.62e-05/0.5842, allocations: 0.6848 MB / 0.9553 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.5842, allocations: 5.391 kB / 0.9553 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.5842, allocations: 14.03 kB / 0.9553 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5842, allocations: 0 / 0.9553 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.002723/0.587, allocations: 0.8414 MB / 0.9561 GB, free: 3.152 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches