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.0009959/0.0009959, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009611/0.0009611, allocations: 169 kB / 24.28 MB, free: 280 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 0.9179/0.9179, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.872/1.872, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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 2.675e-06/2.675e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.718e-05, allocations: 3.219 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002047/0.002074, allocations: 1.689 MB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1248/0.1269, allocations: 142.8 MB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.127, allocations: 0 / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.127, allocations: 7.922 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.1271, allocations: 23.73 kB / 0.9527 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.1279, allocations: 243 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1281, allocations: 95.69 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.1282, allocations: 19.98 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.1282, allocations: 55.88 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.1283, allocations: 35.89 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1283, allocations: 8 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.1286, allocations: 211.3 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1287, allocations: 15.92 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1287, allocations: 27.97 kB / 0.9534 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.129, allocations: 195.3 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.129, allocations: 0 / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.129, allocations: 4 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.129, allocations: 0 / 0.9536 GB, free: 116 kB / 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.0004555/0.1294, allocations: 446.2 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1295, allocations: 8.031 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.1301, allocations: 144.7 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.1301, allocations: 120.5 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.1302, allocations: 63.95 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1302, allocations: 6.062 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1305, allocations: 134.3 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1305, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1305, allocations: 4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1305, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1306, allocations: 55.91 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1311, allocations: 381.1 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1313, allocations: 74.91 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1313, allocations: 35.8 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1313, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1313, allocations: 33.39 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1313, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002915/0.1316, allocations: 93.62 kB / 0.9551 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1317, allocations: 51.41 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.1317, allocations: 185.9 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1318, allocations: 25.7 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1318, allocations: 150.9 kB / 0.9555 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1318, allocations: 27.8 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1319, allocations: 27.36 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.132, allocations: 0.4884 MB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.132, allocations: 15.98 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.1321, allocations: 12 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.1321, allocations: 43.61 kB / 0.9561 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1321, allocations: 0 / 0.9561 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001255/0.1323, allocations: 81.58 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1323, allocations: 4 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1323, allocations: 0 / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1323, allocations: 0 / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1324, allocations: 32.34 kB / 0.9562 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1324, allocations: 0 / 0.9562 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.1325, allocations: 19.98 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1325, allocations: 8 kB / 0.9563 GB, free: 13.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 7.217e-05/0.1326, allocations: 168.4 kB / 0.9564 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1326, allocations: 7.953 kB / 0.9564 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.1326, allocations: 16.42 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1326, allocations: 0 / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1326, allocations: 0 / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1326, allocations: 0 / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1327, allocations: 156.5 kB / 0.9566 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1328, allocations: 4 kB / 0.9566 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.1328, allocations: 19.98 kB / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1328, allocations: 0 / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1328, allocations: 3.984 kB / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1328, allocations: 4 kB / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1328, allocations: 0 / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.133, allocations: 231.8 kB / 0.9568 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.133, allocations: 3.953 kB / 0.9568 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.133, allocations: 7.984 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1331, allocations: 19.98 kB / 0.9569 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1332, allocations: 3.984 kB / 0.9569 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1332, allocations: 8 kB / 0.9569 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.1332, allocations: 132.8 kB / 0.957 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1332, allocations: 4 kB / 0.957 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001592/0.1334, allocations: 24 kB / 0.957 GB, free: 12.3 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.0001308/0.1335, allocations: 99.25 kB / 0.9571 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1337, allocations: 55.59 kB / 0.9572 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1337, allocations: 0 / 0.9572 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.1337, allocations: 35.67 kB / 0.9572 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1339, allocations: 32.05 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.1346, allocations: 238.3 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.1346, allocations: 66 kB / 0.9575 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.451e-05/0.1347, allocations: 12 kB / 0.9576 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1347, allocations: 16.48 kB / 0.9576 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of SimCode: time 9.32e-07/0.1347, allocations: 0 / 0.9576 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of Templates: time 0.002949/0.1377, allocations: 1.622 MB / 0.9592 GB, free: 10.11 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.077321331948042]