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.0009931/0.0009931, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001127/0.001127, allocations: 181 kB / 24.09 MB, free: 420 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.9271/0.9271, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 10.89 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 2.104e-06/2.104e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.554e-05, allocations: 2.938 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1232/0.1233, allocations: 143.6 MB / 0.9278 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1254, allocations: 1.53 MB / 0.9293 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1257, allocations: 19.81 kB / 0.9293 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.126, allocations: 75.34 kB / 0.9294 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.1266, allocations: 334.1 kB / 0.9297 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.1275, allocations: 498.3 kB / 0.9302 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.128, allocations: 0.6978 MB / 0.9308 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.1283, allocations: 207.2 kB / 0.931 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.1287, allocations: 379 kB / 0.9314 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1289, allocations: 207.4 kB / 0.9316 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.129, allocations: 24 kB / 0.9316 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.1294, allocations: 403 kB / 0.932 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.1295, allocations: 127.7 kB / 0.9321 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.1296, allocations: 107.8 kB / 0.9322 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1301, allocations: 0.5061 MB / 0.9327 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1301, allocations: 0 / 0.9327 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1301, allocations: 0 / 0.9327 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1301, allocations: 0 / 0.9327 GB, free: 7.062 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.0007986/0.1309, allocations: 0.6785 MB / 0.9334 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1309, allocations: 12.03 kB / 0.9334 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.1313, allocations: 128.3 kB / 0.9335 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1315, allocations: 259.5 kB / 0.9338 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1315, allocations: 16.88 kB / 0.9338 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.1316, allocations: 24.38 kB / 0.9338 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1318, allocations: 262.3 kB / 0.9341 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1318, allocations: 0 / 0.9341 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1319, allocations: 16 kB / 0.9341 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1319, allocations: 4 kB / 0.9341 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.132, allocations: 83.36 kB / 0.9342 GB, free: 5.504 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.0008584/0.1328, allocations: 0.9953 MB / 0.9351 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1331, allocations: 139.1 kB / 0.9353 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1332, allocations: 51.64 kB / 0.9353 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.1334, allocations: 75.91 kB / 0.9354 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1334, allocations: 37.33 kB / 0.9354 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.1334, allocations: 0 / 0.9354 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0003074/0.1337, allocations: 175 kB / 0.9356 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.1337, allocations: 59.28 kB / 0.9356 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1338, allocations: 272.2 kB / 0.9359 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1339, allocations: 33.7 kB / 0.9359 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.1339, allocations: 215 kB / 0.9361 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.134, allocations: 75.34 kB / 0.9362 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.134, allocations: 55.34 kB / 0.9363 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1342, allocations: 0.504 MB / 0.9368 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.1342, allocations: 19.97 kB / 0.9368 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.1343, allocations: 181.7 kB / 0.9369 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1344, allocations: 123.9 kB / 0.9371 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1344, allocations: 0 / 0.9371 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001684/0.1346, allocations: 158.2 kB / 0.9372 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1346, allocations: 12.09 kB / 0.9372 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1346, allocations: 4 kB / 0.9372 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1346, allocations: 7.984 kB / 0.9372 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1347, allocations: 39.98 kB / 0.9373 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1347, allocations: 7.938 kB / 0.9373 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.1348, allocations: 27.83 kB / 0.9373 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1348, allocations: 8 kB / 0.9373 GB, free: 2.043 MB / 0.8855 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.897e-05/0.1349, allocations: 172.5 kB / 0.9375 GB, free: 1.863 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1349, allocations: 27.8 kB / 0.9375 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1351, allocations: 169.2 kB / 0.9377 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1351, allocations: 0 / 0.9377 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1351, allocations: 0 / 0.9377 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1351, allocations: 0 / 0.9377 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.1356, allocations: 0.5465 MB / 0.9382 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1357, allocations: 7.984 kB / 0.9382 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1358, allocations: 44.11 kB / 0.9383 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1358, allocations: 0 / 0.9383 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1358, allocations: 8 kB / 0.9383 GB, free: 1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1358, allocations: 4 kB / 0.9383 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1358, allocations: 0 / 0.9383 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.136, allocations: 380 kB / 0.9386 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1361, allocations: 47.7 kB / 0.9387 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1361, allocations: 4 kB / 0.9387 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.1362, allocations: 11.98 kB / 0.9387 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1362, allocations: 31.94 kB / 0.9387 GB, free: 500 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1363, allocations: 8 kB / 0.9387 GB, free: 492 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.613e-05/0.1363, allocations: 185.1 kB / 0.9389 GB, free: 308 kB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1363, allocations: 0 / 0.9389 GB, free: 308 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002566/0.1366, allocations: 115.7 kB / 0.939 GB, free: 192 kB / 0.8855 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.0002166/0.1368, allocations: 166.9 kB / 0.9392 GB, free: 16 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1369, allocations: 115.5 kB / 0.9393 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1369, allocations: 0 / 0.9393 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.137, allocations: 63.53 kB / 0.9393 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1374, allocations: 118.7 kB / 0.9395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1384, allocations: 0.5477 MB / 0.94 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.1385, allocations: 104.5 kB / 0.9401 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.804e-05/0.1386, allocations: 37.94 kB / 0.9401 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.1388, allocations: 166.1 kB / 0.9403 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of SimCode: time 8.51e-07/0.1388, allocations: 0 / 0.9403 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of Templates: time 0.007104/0.1459, allocations: 5.837 MB / 0.946 GB, free: 9.07 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.098096189089119]