Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.001355/0.001355, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001188/0.001188, allocations: 161 kB / 23.82 MB, free: 0.7539 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 1.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.881/1.881, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.99e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1387/0.1388, allocations: 146.3 MB / 0.93 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1412, allocations: 1.533 MB / 0.9315 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.1415, allocations: 11.88 kB / 0.9315 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.1419, allocations: 87.28 kB / 0.9316 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.143, allocations: 334.1 kB / 0.9319 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1443, allocations: 494.3 kB / 0.9324 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.1449, allocations: 0.7018 MB / 0.9331 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.1453, allocations: 207.2 kB / 0.9333 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.1458, allocations: 383 kB / 0.9336 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.146, allocations: 203.4 kB / 0.9338 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.1461, allocations: 24 kB / 0.9338 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.1467, allocations: 399 kB / 0.9342 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1468, allocations: 127.6 kB / 0.9343 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1469, allocations: 107.8 kB / 0.9344 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.1476, allocations: 0.5062 MB / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1476, allocations: 0 / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1476, allocations: 0 / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.1476, allocations: 0 / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001075/0.1487, allocations: 0.6786 MB / 0.9356 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1488, allocations: 8.031 kB / 0.9356 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.1492, allocations: 128.3 kB / 0.9357 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1495, allocations: 271.9 kB / 0.936 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1496, allocations: 16.88 kB / 0.936 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1496, allocations: 24.38 kB / 0.936 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.15, allocations: 286.3 kB / 0.9363 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.15, allocations: 0 / 0.9363 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.15, allocations: 8 kB / 0.9363 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.15, allocations: 8 kB / 0.9363 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1502, allocations: 94.94 kB / 0.9364 GB, free: 3.043 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1513, allocations: 1.007 MB / 0.9374 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.1517, allocations: 139.2 kB / 0.9375 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.1517, allocations: 63.64 kB / 0.9376 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.152, allocations: 63.92 kB / 0.9376 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.152, allocations: 41.33 kB / 0.9377 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.152, allocations: 8 kB / 0.9377 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0004201/0.1524, allocations: 179.3 kB / 0.9379 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1525, allocations: 59.41 kB / 0.9379 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1526, allocations: 272.3 kB / 0.9382 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1526, allocations: 25.7 kB / 0.9382 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1527, allocations: 227 kB / 0.9384 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1528, allocations: 63.44 kB / 0.9385 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1528, allocations: 51.36 kB / 0.9385 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.153, allocations: 0.5157 MB / 0.939 GB, free: 212 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.153, allocations: 27.98 kB / 0.9391 GB, free: 184 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1532, allocations: 184.9 kB / 0.9392 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1533, allocations: 132.1 kB / 0.9394 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1533, allocations: 0 / 0.9394 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002238/0.1536, allocations: 169.5 kB / 0.9395 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1536, allocations: 11.94 kB / 0.9395 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1536, allocations: 0 / 0.9395 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1536, allocations: 4 kB / 0.9395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1537, allocations: 51.91 kB / 0.9396 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.1537, allocations: 4 kB / 0.9396 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.1538, allocations: 31.83 kB / 0.9396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1538, allocations: 4 kB / 0.9396 GB, free: 15.52 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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 9.039e-05/0.1539, allocations: 172.6 kB / 0.9398 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.154, allocations: 35.8 kB / 0.9398 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1542, allocations: 172.1 kB / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1542, allocations: 0 / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1542, allocations: 0 / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1542, allocations: 4 kB / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.1549, allocations: 0.6085 MB / 0.9406 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1549, allocations: 8.031 kB / 0.9406 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1551, allocations: 36.03 kB / 0.9406 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.1551, allocations: 3.984 kB / 0.9406 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1551, allocations: 11.98 kB / 0.9406 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1551, allocations: 7.938 kB / 0.9406 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1551, allocations: 0 / 0.9406 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.1555, allocations: 395.4 kB / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1556, allocations: 39.78 kB / 0.9411 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1556, allocations: 15.98 kB / 0.9411 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.1557, allocations: 12.03 kB / 0.9411 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.1557, allocations: 27.91 kB / 0.9411 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1558, allocations: 11.98 kB / 0.9411 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.922e-05/0.1559, allocations: 185.1 kB / 0.9413 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1559, allocations: 0 / 0.9413 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003499/0.1562, allocations: 115.7 kB / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0002882/0.1565, allocations: 182.8 kB / 0.9416 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1567, allocations: 126.2 kB / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1567, allocations: 0 / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1568, allocations: 63.53 kB / 0.9418 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1573, allocations: 107 kB / 0.9419 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1586, allocations: 0.5633 MB / 0.9424 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.558e-05/0.1587, allocations: 100.5 kB / 0.9425 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.1588, allocations: 57.88 kB / 0.9426 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.1589, allocations: 28.44 kB / 0.9426 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of SimCode: time 9.01e-07/0.1589, allocations: 0 / 0.9426 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of Templates: time 0.007562/0.1664, allocations: 5.254 MB / 0.9477 GB, free: 7.129 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.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.842354144901037]