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.001211/0.001211, 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.001373/0.001373, 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 0.9106/0.9106, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.778/1.778, allocations: 359 MB / 0.6052 GB, free: 11 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.593e-06/1.593e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.562e-05, allocations: 3.344 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1378/0.1378, allocations: 146.3 MB / 0.93 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1404, allocations: 1.538 MB / 0.9315 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1407, allocations: 15.88 kB / 0.9315 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1411, allocations: 79.28 kB / 0.9316 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.1419, allocations: 334.1 kB / 0.9319 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.143, allocations: 498.3 kB / 0.9324 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0007716/0.1438, allocations: 0.7018 MB / 0.9331 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.1442, allocations: 209.6 kB / 0.9333 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.1448, allocations: 379 kB / 0.9336 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.145, allocations: 207.4 kB / 0.9338 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1451, allocations: 24 kB / 0.9338 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1456, allocations: 399 kB / 0.9342 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1457, allocations: 131.6 kB / 0.9343 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1458, allocations: 103.8 kB / 0.9344 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007058/0.1465, allocations: 0.5062 MB / 0.9349 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1466, allocations: 3.938 kB / 0.9349 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1466, allocations: 4 kB / 0.9349 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.1466, allocations: 0 / 0.9349 GB, free: 4.59 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.0008117/0.1474, allocations: 0.6708 MB / 0.9356 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1474, allocations: 8.031 kB / 0.9356 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.1479, allocations: 128.3 kB / 0.9357 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1482, allocations: 259.5 kB / 0.936 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1483, allocations: 16.88 kB / 0.936 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.1483, allocations: 24.38 kB / 0.936 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.1487, allocations: 278.4 kB / 0.9363 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1488, allocations: 4 kB / 0.9363 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1488, allocations: 12 kB / 0.9363 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1488, allocations: 7.938 kB / 0.9363 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.149, allocations: 102.9 kB / 0.9364 GB, free: 3.004 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.001043/0.15, allocations: 1.003 MB / 0.9374 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.1504, allocations: 143.1 kB / 0.9375 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.1505, allocations: 55.72 kB / 0.9376 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.1507, allocations: 67.92 kB / 0.9376 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1507, allocations: 37.33 kB / 0.9377 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.1507, allocations: 4 kB / 0.9377 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0004188/0.1511, allocations: 187.1 kB / 0.9379 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.1512, allocations: 55.41 kB / 0.9379 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1513, allocations: 276.3 kB / 0.9382 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1513, allocations: 29.7 kB / 0.9382 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1515, allocations: 219 kB / 0.9384 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.1516, allocations: 75.36 kB / 0.9385 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1516, allocations: 51.36 kB / 0.9385 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1517, allocations: 0.5118 MB / 0.939 GB, free: 172 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.1518, allocations: 27.98 kB / 0.9391 GB, free: 144 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1519, allocations: 174.9 kB / 0.9392 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1521, allocations: 135.9 kB / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1521, allocations: 0 / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002389/0.1523, allocations: 177.3 kB / 0.9395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1523, allocations: 11.94 kB / 0.9395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1523, allocations: 0 / 0.9395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1524, allocations: 4 kB / 0.9395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1525, allocations: 43.97 kB / 0.9396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1525, allocations: 7.938 kB / 0.9396 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1526, allocations: 35.77 kB / 0.9396 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1526, allocations: 12.16 kB / 0.9396 GB, free: 15.47 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 0.0001011/0.1527, allocations: 164.6 kB / 0.9398 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1528, allocations: 31.8 kB / 0.9398 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.153, allocations: 168.5 kB / 0.94 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.153, allocations: 0 / 0.94 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.153, allocations: 4 kB / 0.94 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.153, allocations: 3.984 kB / 0.94 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1537, allocations: 0.6045 MB / 0.9406 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1537, allocations: 4 kB / 0.9406 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1539, allocations: 47.91 kB / 0.9406 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1539, allocations: 0 / 0.9406 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1539, allocations: 4 kB / 0.9406 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1539, allocations: 4 kB / 0.9406 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1539, allocations: 0 / 0.9406 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.1543, allocations: 395.5 kB / 0.941 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1544, allocations: 55.8 kB / 0.9411 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1544, allocations: 4 kB / 0.9411 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.1545, allocations: 15.98 kB / 0.9411 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.1545, allocations: 23.91 kB / 0.9411 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1546, allocations: 8 kB / 0.9411 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001044/0.1547, allocations: 193.1 kB / 0.9413 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1547, allocations: 0 / 0.9413 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003269/0.155, allocations: 111.7 kB / 0.9414 GB, free: 13.53 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.0003328/0.1553, allocations: 178.9 kB / 0.9416 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1556, allocations: 121.9 kB / 0.9417 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1556, allocations: 0 / 0.9417 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.1557, allocations: 69.66 kB / 0.9418 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1561, allocations: 109.1 kB / 0.9419 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1573, allocations: 0.5711 MB / 0.9424 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.1573, allocations: 100.5 kB / 0.9425 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.1575, allocations: 45.92 kB / 0.9426 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.1575, allocations: 28.5 kB / 0.9426 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of SimCode: time 1.052e-06/0.1575, allocations: 0 / 0.9426 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.007842/0.1654, allocations: 5.731 MB / 0.9482 GB, free: 6.633 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.327538090292364]