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.0009374/0.0009374, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001003/0.001003, allocations: 168.6 kB / 24.87 MB, free: 9.227 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.96/0.96, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.946/1.946, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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 1.623e-06/1.623e-06, allocations: 0 / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.456e-05, allocations: 3.625 kB / 0.8128 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1296/0.1296, allocations: 143.6 MB / 0.953 GB, free: 256 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1323, allocations: 1.533 MB / 0.9545 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.1326, allocations: 15.88 kB / 0.9545 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1329, allocations: 79.28 kB / 0.9546 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007345/0.1336, allocations: 330.2 kB / 0.9549 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009396/0.1346, allocations: 0.4905 MB / 0.9554 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1352, allocations: 0.7017 MB / 0.9561 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.1355, allocations: 203.2 kB / 0.9563 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.1361, allocations: 383 kB / 0.9566 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1363, allocations: 195.4 kB / 0.9568 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1363, allocations: 24 kB / 0.9568 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.1369, allocations: 403 kB / 0.9572 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.137, allocations: 127.6 kB / 0.9574 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1371, allocations: 111.8 kB / 0.9575 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.1377, allocations: 0.5061 MB / 0.958 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1377, allocations: 0 / 0.958 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1377, allocations: 0 / 0.958 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1377, allocations: 0 / 0.958 GB, free: 11.18 MB / 0.8698 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.0006785/0.1384, allocations: 0.6708 MB / 0.9586 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1384, allocations: 8.031 kB / 0.9586 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/0.1388, allocations: 140.3 kB / 0.9588 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1391, allocations: 255.4 kB / 0.959 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1391, allocations: 20.88 kB / 0.959 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1392, allocations: 24.38 kB / 0.959 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.1395, allocations: 262.4 kB / 0.9593 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1395, allocations: 0 / 0.9593 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.1395, allocations: 12 kB / 0.9593 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1395, allocations: 7.938 kB / 0.9593 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1396, allocations: 71.44 kB / 0.9594 GB, free: 9.637 MB / 0.8698 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.0009631/0.1406, allocations: 1.007 MB / 0.9604 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1409, allocations: 135.2 kB / 0.9605 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1409, allocations: 43.66 kB / 0.9605 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.1412, allocations: 63.92 kB / 0.9606 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1412, allocations: 49.25 kB / 0.9606 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1412, allocations: 0 / 0.9606 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0003508/0.1415, allocations: 167.2 kB / 0.9608 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1416, allocations: 59.41 kB / 0.9609 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1417, allocations: 268.2 kB / 0.9611 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1417, allocations: 29.7 kB / 0.9611 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.1421, allocations: 219 kB / 0.9613 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1421, allocations: 75.36 kB / 0.9614 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.1422, allocations: 51.34 kB / 0.9615 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1423, allocations: 0.5118 MB / 0.962 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.1423, allocations: 19.98 kB / 0.962 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1424, allocations: 180.2 kB / 0.9622 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1426, allocations: 120.3 kB / 0.9623 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1426, allocations: 0 / 0.9623 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001873/0.1428, allocations: 157.3 kB / 0.9624 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1428, allocations: 11.94 kB / 0.9624 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1428, allocations: 0 / 0.9624 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1428, allocations: 4 kB / 0.9624 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1429, allocations: 56.06 kB / 0.9625 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1429, allocations: 4 kB / 0.9625 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.143, allocations: 23.88 kB / 0.9625 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.143, allocations: 8 kB / 0.9625 GB, free: 6.184 MB / 0.8698 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 8.965e-05/0.1431, allocations: 172.5 kB / 0.9627 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1432, allocations: 35.75 kB / 0.9627 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.1434, allocations: 162.3 kB / 0.9629 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1434, allocations: 0 / 0.9629 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1434, allocations: 0 / 0.9629 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1434, allocations: 8 kB / 0.9629 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.1439, allocations: 0.5574 MB / 0.9634 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1439, allocations: 4 kB / 0.9634 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1441, allocations: 43.91 kB / 0.9635 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1441, allocations: 0 / 0.9635 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1441, allocations: 12.19 kB / 0.9635 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1441, allocations: 4 kB / 0.9635 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1441, allocations: 3.938 kB / 0.9635 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1444, allocations: 365.8 kB / 0.9638 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1444, allocations: 43.77 kB / 0.9639 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1445, allocations: 4 kB / 0.9639 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.1445, allocations: 11.98 kB / 0.9639 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1446, allocations: 27.84 kB / 0.9639 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1446, allocations: 12 kB / 0.9639 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.1447, allocations: 189.1 kB / 0.9641 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1447, allocations: 0 / 0.9641 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003066/0.145, allocations: 111.7 kB / 0.9642 GB, free: 4.328 MB / 0.8698 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.0002516/0.1452, allocations: 163 kB / 0.9644 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1454, allocations: 110.2 kB / 0.9645 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1454, allocations: 4.062 kB / 0.9645 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.1455, allocations: 59.59 kB / 0.9645 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1459, allocations: 115 kB / 0.9647 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.1468, allocations: 0.5593 MB / 0.9652 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.1469, allocations: 100.5 kB / 0.9653 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.147, allocations: 37.94 kB / 0.9653 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.1472, allocations: 166.1 kB / 0.9655 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of SimCode: time 8.91e-07/0.1472, allocations: 3.938 kB / 0.9655 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of Templates: time 0.007995/0.1552, allocations: 5.91 MB / 0.9713 GB, free: 13.16 MB / 0.8855 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.428014532197267]