Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.0009347/0.0009347, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001089/0.001089, allocations: 165.9 kB / 24.86 MB, free: 9.254 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.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.859/1.859, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.361e-05, allocations: 3.516 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002222/0.002245, allocations: 1.686 MB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1153/0.1175, allocations: 140.4 MB / 0.9516 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1176, allocations: 4 kB / 0.9516 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.307e-05/0.1177, allocations: 11.86 kB / 0.9516 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/0.1178, allocations: 11.81 kB / 0.9516 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1188, allocations: 243 kB / 0.9518 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1189, allocations: 91.64 kB / 0.9519 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1191, allocations: 19.98 kB / 0.9519 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1192, allocations: 55.88 kB / 0.952 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.1192, allocations: 27.91 kB / 0.952 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1193, allocations: 8 kB / 0.952 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.1198, allocations: 203.4 kB / 0.9522 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.1198, allocations: 23.91 kB / 0.9522 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.1199, allocations: 23.92 kB / 0.9523 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1202, allocations: 199.3 kB / 0.9524 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1202, allocations: 4 kB / 0.9525 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1202, allocations: 0 / 0.9525 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1203, allocations: 0 / 0.9525 GB, free: 1.945 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005535/0.1208, allocations: 448 kB / 0.9529 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1208, allocations: 8.031 kB / 0.9529 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.1215, allocations: 96.72 kB / 0.953 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1217, allocations: 136.4 kB / 0.9531 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.1218, allocations: 59.97 kB / 0.9532 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1218, allocations: 8.125 kB / 0.9532 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1221, allocations: 130.2 kB / 0.9533 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1221, allocations: 0 / 0.9533 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1221, allocations: 4 kB / 0.9533 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1221, allocations: 4 kB / 0.9533 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.1222, allocations: 35.92 kB / 0.9533 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.1227, allocations: 340.8 kB / 0.9537 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1229, allocations: 55.05 kB / 0.9537 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.123, allocations: 23.8 kB / 0.9537 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.123, allocations: 4 kB / 0.9537 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.123, allocations: 37.38 kB / 0.9538 GB, free: 460 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.123, allocations: 0 / 0.9538 GB, free: 460 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0003401/0.1233, allocations: 85.56 kB / 0.9539 GB, free: 368 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1234, allocations: 55.41 kB / 0.9539 GB, free: 300 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1235, allocations: 183.3 kB / 0.9541 GB, free: 104 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1235, allocations: 29.7 kB / 0.9541 GB, free: 68 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1236, allocations: 162.8 kB / 0.9543 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.1237, allocations: 7.906 kB / 0.9543 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.1237, allocations: 31.34 kB / 0.9543 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1239, allocations: 0.4884 MB / 0.9548 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.1239, allocations: 11.98 kB / 0.9548 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.124, allocations: 8 kB / 0.9548 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.124, allocations: 31.67 kB / 0.9548 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.124, allocations: 4 kB / 0.9548 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001278/0.1242, allocations: 69.58 kB / 0.9549 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1242, allocations: 4 kB / 0.9549 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1242, allocations: 4 kB / 0.9549 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1242, allocations: 0 / 0.9549 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1243, allocations: 19.98 kB / 0.9549 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1243, allocations: 7.922 kB / 0.9549 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.1244, allocations: 16.38 kB / 0.955 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1244, allocations: 7.984 kB / 0.955 GB, free: 15.16 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * 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.0001176/0.1245, allocations: 152.6 kB / 0.9551 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1246, allocations: 11.95 kB / 0.9551 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.1246, allocations: 12.44 kB / 0.9551 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1246, allocations: 0 / 0.9551 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1246, allocations: 11.88 kB / 0.9551 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1246, allocations: 3.938 kB / 0.9551 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1247, allocations: 125.2 kB / 0.9553 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1247, allocations: 4 kB / 0.9553 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.1248, allocations: 15.98 kB / 0.9553 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1248, allocations: 0 / 0.9553 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1248, allocations: 7.984 kB / 0.9553 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1248, allocations: 0 / 0.9553 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1248, allocations: 0 / 0.9553 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.125, allocations: 215.9 kB / 0.9555 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.125, allocations: 7.953 kB / 0.9555 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.125, allocations: 0 / 0.9555 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.1251, allocations: 15.98 kB / 0.9555 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1251, allocations: 15.92 kB / 0.9555 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1251, allocations: 3.984 kB / 0.9555 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.1252, allocations: 135.2 kB / 0.9557 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1252, allocations: 0 / 0.9557 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00016/0.1253, allocations: 19.95 kB / 0.9557 GB, free: 14.36 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * 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.0001455/0.1255, allocations: 107.2 kB / 0.9558 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1256, allocations: 43.66 kB / 0.9558 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1256, allocations: 4 kB / 0.9558 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.1256, allocations: 27.61 kB / 0.9559 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1258, allocations: 23.92 kB / 0.9559 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1264, allocations: 214.7 kB / 0.9561 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.1265, allocations: 63.34 kB / 0.9562 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.78e-05/0.1265, allocations: 16 kB / 0.9562 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.1266, allocations: 78.19 kB / 0.9562 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.1266, allocations: 0 / 0.9562 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of Templates: time 0.003009/0.1296, allocations: 1.685 MB / 0.9579 GB, free: 12.07 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.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: 5.039201308041811]