Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000877/0.000877, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009734/0.0009734, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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 0.9848/0.9848, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.289/2.289, allocations: 438.8 MB / 0.6826 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.356e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.00224/0.002263, allocations: 1.784 MB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.00244, allocations: 91.67 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.002483, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.002518, allocations: 11.86 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.002577, allocations: 15.75 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.992e-05/0.002667, allocations: 43.94 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.002771, allocations: 111.6 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.002879, allocations: 37.92 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.002973, allocations: 59.89 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.003019, allocations: 31.89 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.003041, allocations: 15.98 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.003059, allocations: 12 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.003081, allocations: 19.92 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.00311, allocations: 27.92 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.00322, allocations: 79.66 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003223, allocations: 0 / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003224, allocations: 4 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003227, allocations: 0 / 0.8409 GB, free: 11.77 MB / 0.8073 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.0002949/0.003522, allocations: 316.5 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.003551, allocations: 11.97 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.003577, allocations: 12.94 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.003684, allocations: 133 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.003692, allocations: 12.31 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003703, allocations: 8.375 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.003834, allocations: 102.8 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.00384, allocations: 192 / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.003849, allocations: 8.375 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003853, allocations: 384 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.003887, allocations: 21.83 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.004143, allocations: 220 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.004238, allocations: 50.48 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.004261, allocations: 12.98 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.00427, allocations: 12 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.004287, allocations: 30.56 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.004288, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001053/0.004393, allocations: 53.67 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004419, allocations: 55.41 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.004477, allocations: 134.6 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004486, allocations: 25.7 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.00452, allocations: 104.1 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.004542, allocations: 23.8 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.004567, allocations: 13.72 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.004643, allocations: 326.8 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.004657, allocations: 8 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.004672, allocations: 8.375 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.004708, allocations: 28.83 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004709, allocations: 0 / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.711e-05/0.004766, allocations: 49.67 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.004779, allocations: 8 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004783, allocations: 3.938 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.004791, allocations: 0 / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.004848, allocations: 15.98 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.00485, allocations: 0 / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.004882, allocations: 19.98 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.004888, allocations: 0 / 0.8427 GB, free: 9.824 MB / 0.8073 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.244e-05/0.00495, allocations: 117.7 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.004966, allocations: 4 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.004983, allocations: 8.438 kB / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004985, allocations: 0 / 0.8428 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.004988, allocations: 7.984 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.004991, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.005086, allocations: 85.81 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005088, allocations: 4 kB / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.005127, allocations: 19.98 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005129, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.005133, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005133, allocations: 0 / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005134, allocations: 7.938 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.005225, allocations: 155.5 kB / 0.843 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.005234, allocations: 11.89 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.005242, allocations: 0 / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.005286, allocations: 11.98 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.005317, allocations: 11.98 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005319, allocations: 4 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.644e-05/0.005336, allocations: 20.84 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 0 / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001237/0.005459, allocations: 19.95 kB / 0.8431 GB, free: 9.301 MB / 0.8073 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 7.687e-05/0.005536, allocations: 76.42 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.005603, allocations: 32.78 kB / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.005606, allocations: 0 / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.005628, allocations: 16.84 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.005773, allocations: 31.84 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.006073, allocations: 196.4 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.006106, allocations: 63.34 kB / 0.8435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.006136, allocations: 11.73 kB / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.006191, allocations: 59.38 kB / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of SimCode: time 4.4e-07/0.006192, allocations: 0 / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of Templates: time 0.002537/0.008729, allocations: 1.054 MB / 0.8446 GB, free: 7.719 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.989234659820795]