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.001481/0.001481, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001819/0.001819, allocations: 167.4 kB / 24.87 MB, free: 8.879 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.9881/0.9881, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.874/1.874, allocations: 359 MB / 0.6063 GB, free: 10.92 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.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.783e-05, allocations: 7.125 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1488/0.1489, allocations: 143.6 MB / 0.9285 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1518, allocations: 1.529 MB / 0.93 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1522, allocations: 15.88 kB / 0.93 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.1525, allocations: 83.34 kB / 0.9301 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.1534, allocations: 334.1 kB / 0.9304 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1546, allocations: 494.3 kB / 0.9309 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.1554, allocations: 0.6978 MB / 0.9316 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.1558, allocations: 215.1 kB / 0.9318 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.1565, allocations: 375.1 kB / 0.9322 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1568, allocations: 211.3 kB / 0.9324 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.1568, allocations: 24 kB / 0.9324 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.1576, allocations: 395 kB / 0.9328 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1578, allocations: 123.7 kB / 0.9329 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1579, allocations: 115.7 kB / 0.933 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007965/0.1587, allocations: 0.5101 MB / 0.9335 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1587, allocations: 0 / 0.9335 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1587, allocations: 0 / 0.9335 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.1587, allocations: 0 / 0.9335 GB, free: 7.105 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.0008116/0.1595, allocations: 0.6707 MB / 0.9341 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1595, allocations: 12.03 kB / 0.9341 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.16, allocations: 132.3 kB / 0.9343 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1603, allocations: 255.4 kB / 0.9345 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1604, allocations: 20.88 kB / 0.9345 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.1604, allocations: 28.38 kB / 0.9346 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1608, allocations: 262.4 kB / 0.9348 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1608, allocations: 0 / 0.9348 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1608, allocations: 8 kB / 0.9348 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1608, allocations: 11.98 kB / 0.9348 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1609, allocations: 75.38 kB / 0.9349 GB, free: 5.555 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.001349/0.1623, allocations: 0.9953 MB / 0.9359 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.1626, allocations: 131.1 kB / 0.936 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.1627, allocations: 51.58 kB / 0.9361 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.1629, allocations: 63.94 kB / 0.9361 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1629, allocations: 45.33 kB / 0.9362 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.1629, allocations: 0 / 0.9362 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0003709/0.1633, allocations: 171.4 kB / 0.9363 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1633, allocations: 55.41 kB / 0.9364 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1635, allocations: 272.2 kB / 0.9366 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1635, allocations: 29.7 kB / 0.9367 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1636, allocations: 223 kB / 0.9369 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.1637, allocations: 71.36 kB / 0.9369 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.1637, allocations: 51.34 kB / 0.937 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1639, allocations: 0.5118 MB / 0.9375 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.1639, allocations: 19.98 kB / 0.9375 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.164, allocations: 174.9 kB / 0.9377 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1642, allocations: 131.8 kB / 0.9378 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1642, allocations: 4.062 kB / 0.9378 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000205/0.1644, allocations: 158.1 kB / 0.938 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1644, allocations: 7.938 kB / 0.938 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1644, allocations: 0 / 0.938 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1644, allocations: 4 kB / 0.938 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1645, allocations: 51.91 kB / 0.938 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1645, allocations: 8.156 kB / 0.938 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1646, allocations: 31.83 kB / 0.9381 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1647, allocations: 4 kB / 0.9381 GB, free: 2.102 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 0.0001044/0.1648, allocations: 168.5 kB / 0.9382 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.1648, allocations: 31.8 kB / 0.9382 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.165, allocations: 157.2 kB / 0.9384 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.165, allocations: 4 kB / 0.9384 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.165, allocations: 0 / 0.9384 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.165, allocations: 3.984 kB / 0.9384 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.1657, allocations: 0.5543 MB / 0.9389 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1657, allocations: 0 / 0.9389 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1658, allocations: 43.91 kB / 0.939 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1658, allocations: 7.938 kB / 0.939 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1658, allocations: 8 kB / 0.939 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1658, allocations: 192 / 0.939 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1658, allocations: 8 kB / 0.939 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1661, allocations: 375.9 kB / 0.9394 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.1662, allocations: 47.75 kB / 0.9394 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1662, allocations: 4 kB / 0.9394 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.1663, allocations: 15.98 kB / 0.9394 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.1664, allocations: 23.91 kB / 0.9395 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1664, allocations: 11.94 kB / 0.9395 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.021e-05/0.1665, allocations: 181.1 kB / 0.9396 GB, free: 368 kB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.9396 GB, free: 368 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00036/0.1668, allocations: 115.7 kB / 0.9398 GB, free: 252 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.000276/0.1671, allocations: 175 kB / 0.9399 GB, free: 68 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1673, allocations: 109.8 kB / 0.94 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1673, allocations: 0 / 0.94 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1674, allocations: 63.91 kB / 0.9401 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1678, allocations: 112.6 kB / 0.9402 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.1688, allocations: 0.5593 MB / 0.9407 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.1688, allocations: 96.53 kB / 0.9408 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.169, allocations: 37.92 kB / 0.9409 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.1692, allocations: 162.1 kB / 0.941 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of SimCode: time 5.71e-07/0.1692, allocations: 0 / 0.941 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of Templates: time 0.008794/0.178, allocations: 5.928 MB / 0.9468 GB, free: 9.059 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.701923522166908]