Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.577e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002292/0.002308, allocations: 1.842 MB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001796/0.002488, allocations: 92.39 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.002536, allocations: 4 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.002567, allocations: 12.64 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.002621, allocations: 12.48 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.23e-05/0.002693, allocations: 35.94 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.002792, allocations: 108.9 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.002907, allocations: 45.91 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.002995, allocations: 57.23 kB / 0.7623 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.003041, allocations: 39.83 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.00306, allocations: 12 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003069, allocations: 8 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.003091, allocations: 29.66 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.003116, allocations: 27.92 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/0.003211, allocations: 79.66 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003213, allocations: 0 / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003213, allocations: 4 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.003216, allocations: 1.344 kB / 0.7624 GB, free: 4.184 MB / 0.7136 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.000264/0.00348, allocations: 312.5 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.003506, allocations: 9.281 kB / 0.7628 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.003529, allocations: 12.92 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.003625, allocations: 133.6 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.003632, allocations: 5.625 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.003642, allocations: 8.375 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.003761, allocations: 103.9 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-06/0.003766, allocations: 192 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003772, allocations: 384 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003777, allocations: 4.906 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.003819, allocations: 23.86 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.004034, allocations: 229.2 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.004114, allocations: 39.27 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.004139, allocations: 20.06 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.004145, allocations: 0 / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.004162, allocations: 34.56 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 6.41e-07/0.004162, allocations: 0 / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 9.429e-05/0.004257, allocations: 57.75 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.004284, allocations: 51.41 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.00435, allocations: 128.9 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.004362, allocations: 25.7 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.004407, allocations: 112.1 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.00443, allocations: 22.83 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.004459, allocations: 17.72 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.004535, allocations: 322.8 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.00455, allocations: 4 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.004562, allocations: 4 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.004595, allocations: 29.2 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004597, allocations: 4 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.626e-05/0.004653, allocations: 53.62 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004664, allocations: 9.438 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004668, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.004681, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.004744, allocations: 20.73 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.004747, allocations: 0 / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.004778, allocations: 12.73 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.004783, allocations: 0 / 0.7642 GB, free: 2.266 MB / 0.7136 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 5.776e-05/0.004841, allocations: 118.4 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.004857, allocations: 5.438 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.004877, allocations: 16.42 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004879, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.004881, allocations: 3.938 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004883, allocations: 2.438 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.004972, allocations: 89.81 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004973, allocations: 0 / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.005015, allocations: 19.98 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005016, allocations: 0 / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.005021, allocations: 0 / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005022, allocations: 2.812 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005022, allocations: 0 / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.005105, allocations: 151.5 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.005114, allocations: 15.88 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.005125, allocations: 3.984 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.005171, allocations: 16.11 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.005206, allocations: 11.92 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.00521, allocations: 4.75 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.48e-05/0.005224, allocations: 19.52 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005224, allocations: 1.219 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001255/0.00535, allocations: 23.95 kB / 0.7647 GB, free: 1.734 MB / 0.7136 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 6.445e-05/0.005414, allocations: 77.83 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.005486, allocations: 24.84 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.005489, allocations: 0 / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.005515, allocations: 30.06 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.00566, allocations: 18.33 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.005944, allocations: 198.5 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.005977, allocations: 59.34 kB / 0.765 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.006005, allocations: 9.156 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.006064, allocations: 60 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.006064, allocations: 5.5 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.002659/0.008723, allocations: 1.039 MB / 0.7661 GB, free: 236 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.768845953978598]