Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.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 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: translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001111/0.001111, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.972/0.9734, allocations: 151.6 MB / 1.167 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003515/0.977, allocations: 1.761 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.9773, allocations: 79.75 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.9774, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.9774, allocations: 11.86 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.9776, allocations: 19.8 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.9777, allocations: 35.95 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.9779, allocations: 107.6 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.9781, allocations: 49.09 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.9782, allocations: 39.86 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.9783, allocations: 59.73 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.9783, allocations: 12 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.9783, allocations: 8 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.9783, allocations: 27.92 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.9784, allocations: 47.73 kB / 1.17 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.9786, allocations: 115.4 kB / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9786, allocations: 0 / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9786, allocations: 0 / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9786, allocations: 0 / 1.17 GB, free: 1.645 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007516/0.9794, allocations: 429.1 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9794, allocations: 8.031 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.9795, allocations: 12.84 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.9797, allocations: 196 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.9798, allocations: 12.31 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.9798, allocations: 12.38 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.9802, allocations: 120.4 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.9802, allocations: 8.188 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.9803, allocations: 7.938 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.9803, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.9807, allocations: 123.8 kB / 1.171 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.9813, allocations: 380.4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.9817, allocations: 94.5 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.982, allocations: 56.94 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.982, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.982, allocations: 30.56 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.982, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0007811/0.9828, allocations: 205.4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.9829, allocations: 51.41 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.983, allocations: 127.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.983, allocations: 25.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.9831, allocations: 111.9 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.9831, allocations: 23.7 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.9832, allocations: 21.66 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9834, allocations: 318.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.9836, allocations: 47.95 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.9838, allocations: 51.94 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.9842, allocations: 112.7 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9842, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000461/0.9847, allocations: 141.5 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.9847, allocations: 7.984 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9847, allocations: 4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9848, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.9849, allocations: 27.91 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9849, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.9851, allocations: 19.92 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.9851, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 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 0.0001027/0.9852, allocations: 125.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.9852, allocations: 7.906 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.9853, allocations: 12.38 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9853, allocations: 7.875 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.9853, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.9853, allocations: 81.02 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.9853, allocations: 4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.9855, allocations: 23.97 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.9856, allocations: 7.984 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005711/0.9861, allocations: 233.3 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005236/0.9867, allocations: 322.7 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002217/0.9869, allocations: 67.92 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.987, allocations: 98.08 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/0.987, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.9876, allocations: 140.7 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007227/0.9883, allocations: 0.6321 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.004103/0.9924, allocations: 1.293 MB / 1.175 GB, free: 11.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches