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.001349/0.001349, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001371/0.001371, allocations: 187 kB / 17.34 MB, free: 5.742 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 67.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9571/0.9587, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002727/0.9615, allocations: 1.6 MB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.9616, allocations: 54.5 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.9617, allocations: 1.062 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.9617, allocations: 5.25 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.9618, allocations: 15.39 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.283e-05/0.9619, allocations: 17.33 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.962, allocations: 69.75 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.9621, allocations: 21.53 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.9622, allocations: 27.23 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.9623, allocations: 30.95 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.9623, allocations: 10.53 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.9623, allocations: 5.438 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.9624, allocations: 17.3 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.9624, allocations: 31 kB / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.9625, allocations: 71.44 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9626, allocations: 1.125 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9626, allocations: 0.5625 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.9626, allocations: 0 / 1.091 GB, free: 4.238 MB / 0.8575 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.000584/0.9632, allocations: 391.8 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9632, allocations: 9.719 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.9632, allocations: 8.531 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.9633, allocations: 176.8 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.9634, allocations: 1.875 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.9634, allocations: 15.92 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.9637, allocations: 96.17 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.9637, allocations: 0 / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.9638, allocations: 0 / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9638, allocations: 1.219 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.9642, allocations: 102.5 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.9646, allocations: 302.3 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.965, allocations: 93.8 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.9652, allocations: 64.14 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.9653, allocations: 1.125 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.9653, allocations: 31.69 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.9653, allocations: 4 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007728/0.9661, allocations: 197.1 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9661, allocations: 56.25 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.9662, allocations: 114.5 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.9662, allocations: 29.7 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.9663, allocations: 92.77 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.9663, allocations: 19.52 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.9663, allocations: 19.02 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.9664, allocations: 318.8 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.9666, allocations: 58.91 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.9669, allocations: 49.86 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.9673, allocations: 103.2 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9673, allocations: 0.7188 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004978/0.9678, allocations: 142.3 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9678, allocations: 5.984 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.9679, allocations: 0.6875 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.9679, allocations: 5.094 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.968, allocations: 29.16 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9681, allocations: 0 / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.9682, allocations: 21.61 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.9682, allocations: 5.938 kB / 1.093 GB, free: 2.352 MB / 0.8575 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 7.044e-05/0.9683, allocations: 113.6 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.9683, allocations: 7.766 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.9683, allocations: 14.11 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9683, allocations: 0.7812 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9684, allocations: 4.812 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.9684, allocations: 0.7969 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.9685, allocations: 185.2 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9685, allocations: 0.75 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.9687, allocations: 30.33 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.9687, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.9687, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.9687, allocations: 8.703 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9687, allocations: 1.516 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.9693, allocations: 238.3 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.9693, allocations: 87.39 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9693, allocations: 2.156 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.9695, allocations: 20.19 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.9696, allocations: 6.297 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.9696, allocations: 1.406 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.9696, allocations: 100.5 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.92e-07/0.9696, allocations: 0 / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002232/0.9699, allocations: 19.47 kB / 1.094 GB, free: 1.641 MB / 0.8575 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 0.0001288/0.97, allocations: 113.1 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.9705, allocations: 107.8 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9705, allocations: 1.062 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.9708, allocations: 64.14 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.9711, allocations: 10.86 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.9715, allocations: 194.1 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.9717, allocations: 0.6866 MB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.9717, allocations: 14.94 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9717, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of Templates: time 0.002987/0.9747, allocations: 1.022 MB / 1.096 GB, free: 0.5586 MB / 0.8575 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/jenkins1/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