Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001092/0.001092, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001035/0.001035, allocations: 181 kB / 24.08 MB, free: 424 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.9286/0.9286, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.914e-05, allocations: 6.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1238/0.1238, allocations: 143.6 MB / 0.9522 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1258, allocations: 1.537 MB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.126, allocations: 11.88 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1263, allocations: 87.28 kB / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.127, allocations: 338.1 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.1278, allocations: 494.3 kB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.1284, allocations: 0.69 MB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.1287, allocations: 211.1 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.1292, allocations: 379 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1294, allocations: 207.4 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.1294, allocations: 24 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.1299, allocations: 399 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.13, allocations: 127.6 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.13, allocations: 107.8 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.1305, allocations: 0.5062 MB / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1305, allocations: 0 / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1305, allocations: 0 / 0.9572 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1305, allocations: 0 / 0.9572 GB, free: 12.32 MB / 0.9167 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.0006063/0.1311, allocations: 0.6785 MB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1312, allocations: 12.03 kB / 0.9579 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.1315, allocations: 128.3 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1317, allocations: 259.5 kB / 0.9582 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1318, allocations: 16.88 kB / 0.9582 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.1318, allocations: 28.31 kB / 0.9583 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1321, allocations: 258.4 kB / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1321, allocations: 0 / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1321, allocations: 8 kB / 0.9585 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1321, allocations: 8 kB / 0.9585 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1322, allocations: 79.36 kB / 0.9586 GB, free: 10.77 MB / 0.9167 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.001113/0.1333, allocations: 1.007 MB / 0.9596 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1336, allocations: 131.1 kB / 0.9597 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.1337, allocations: 47.66 kB / 0.9598 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.1339, allocations: 75.95 kB / 0.9598 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1339, allocations: 41.33 kB / 0.9599 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.1339, allocations: 0 / 0.9599 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0003084/0.1342, allocations: 175.1 kB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.1342, allocations: 51.41 kB / 0.9601 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1344, allocations: 276.1 kB / 0.9604 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1344, allocations: 33.7 kB / 0.9604 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.1345, allocations: 215 kB / 0.9606 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1345, allocations: 79.34 kB / 0.9607 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.1346, allocations: 51.34 kB / 0.9607 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1347, allocations: 0.5001 MB / 0.9612 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.1347, allocations: 19.98 kB / 0.9612 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.1348, allocations: 185.3 kB / 0.9614 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1349, allocations: 131.5 kB / 0.9615 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1349, allocations: 0 / 0.9615 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001638/0.1351, allocations: 151.1 kB / 0.9617 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1351, allocations: 8.094 kB / 0.9617 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1351, allocations: 8.062 kB / 0.9617 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1351, allocations: 8 kB / 0.9617 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1352, allocations: 47.91 kB / 0.9617 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.1352, allocations: 0 / 0.9617 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.1353, allocations: 31.83 kB / 0.9618 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1353, allocations: 12 kB / 0.9618 GB, free: 7.305 MB / 0.9167 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 7.605e-05/0.1354, allocations: 160.6 kB / 0.9619 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1354, allocations: 35.73 kB / 0.962 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.1356, allocations: 163.7 kB / 0.9621 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1356, allocations: 0 / 0.9621 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1356, allocations: 0 / 0.9621 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1356, allocations: 0 / 0.9621 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.1361, allocations: 0.5464 MB / 0.9627 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1361, allocations: 4 kB / 0.9627 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1362, allocations: 48.09 kB / 0.9627 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1362, allocations: 4 kB / 0.9627 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1363, allocations: 4 kB / 0.9627 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1363, allocations: 4 kB / 0.9627 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1363, allocations: 0 / 0.9627 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1365, allocations: 375.9 kB / 0.9631 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.1366, allocations: 39.77 kB / 0.9631 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1366, allocations: 4 kB / 0.9631 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.1367, allocations: 15.98 kB / 0.9631 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1367, allocations: 27.94 kB / 0.9632 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1367, allocations: 8 kB / 0.9632 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.1368, allocations: 185.1 kB / 0.9633 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1368, allocations: 0 / 0.9633 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002458/0.137, allocations: 115.7 kB / 0.9635 GB, free: 5.473 MB / 0.9167 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.0002244/0.1373, allocations: 171 kB / 0.9636 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1374, allocations: 111.5 kB / 0.9637 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1374, allocations: 0 / 0.9637 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.1375, allocations: 59.53 kB / 0.9638 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1378, allocations: 113.1 kB / 0.9639 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.1386, allocations: 0.5658 MB / 0.9644 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.1387, allocations: 104.5 kB / 0.9645 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.1388, allocations: 37.92 kB / 0.9646 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.139, allocations: 170 kB / 0.9647 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of SimCode: time 6.82e-07/0.139, allocations: 0 / 0.9647 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of Templates: time 0.007906/0.1469, allocations: 5.828 MB / 0.9704 GB, free: 14.35 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.331962430849671]