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.001045/0.001045, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009352/0.0009352, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9608/0.9608, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.864e-06/1.864e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.176e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1342/0.1342, allocations: 146.3 MB / 0.9544 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1363, allocations: 1.538 MB / 0.9559 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1365, allocations: 19.81 kB / 0.956 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1368, allocations: 87.27 kB / 0.956 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.1376, allocations: 330.2 kB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008875/0.1384, allocations: 494.2 kB / 0.9568 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.139, allocations: 0.6978 MB / 0.9575 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.1393, allocations: 215.1 kB / 0.9577 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.1398, allocations: 375 kB / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.14, allocations: 207.4 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.14, allocations: 24 kB / 0.9583 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.1405, allocations: 395 kB / 0.9587 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1406, allocations: 127.7 kB / 0.9588 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.1407, allocations: 107.7 kB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.1413, allocations: 0.5101 MB / 0.9594 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1413, allocations: 0 / 0.9594 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1413, allocations: 0 / 0.9594 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1413, allocations: 0 / 0.9594 GB, free: 9.844 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.0007069/0.142, allocations: 0.6707 MB / 0.96 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.142, allocations: 8.031 kB / 0.9601 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.1424, allocations: 140.3 kB / 0.9602 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1427, allocations: 251.5 kB / 0.9604 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1428, allocations: 24.88 kB / 0.9604 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.1428, allocations: 24.38 kB / 0.9605 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1432, allocations: 282.4 kB / 0.9607 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1432, allocations: 0 / 0.9607 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1432, allocations: 8 kB / 0.9607 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1432, allocations: 8 kB / 0.9608 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1434, allocations: 98.88 kB / 0.9609 GB, free: 8.258 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.00111/0.1445, allocations: 0.9954 MB / 0.9618 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1448, allocations: 147.1 kB / 0.962 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.1449, allocations: 63.56 kB / 0.962 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.1452, allocations: 67.92 kB / 0.9621 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1452, allocations: 41.33 kB / 0.9621 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.1452, allocations: 0 / 0.9621 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0004087/0.1456, allocations: 191.8 kB / 0.9623 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1456, allocations: 55.41 kB / 0.9624 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1458, allocations: 276.2 kB / 0.9626 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1458, allocations: 33.7 kB / 0.9627 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.1459, allocations: 211.1 kB / 0.9629 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.1459, allocations: 75.38 kB / 0.9629 GB, free: 6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.146, allocations: 47.36 kB / 0.963 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1461, allocations: 0.5079 MB / 0.9635 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.1462, allocations: 27.98 kB / 0.9635 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1463, allocations: 182.9 kB / 0.9637 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1464, allocations: 140.2 kB / 0.9638 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1464, allocations: 0 / 0.9638 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002168/0.1467, allocations: 169.3 kB / 0.964 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1467, allocations: 7.938 kB / 0.964 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1467, allocations: 4 kB / 0.964 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1467, allocations: 0 / 0.964 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1468, allocations: 52.12 kB / 0.964 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1468, allocations: 3.938 kB / 0.964 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.1469, allocations: 31.83 kB / 0.9641 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1469, allocations: 8 kB / 0.9641 GB, free: 4.734 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 9.205e-05/0.147, allocations: 164.6 kB / 0.9642 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1471, allocations: 39.78 kB / 0.9643 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1473, allocations: 168.9 kB / 0.9644 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1473, allocations: 4 kB / 0.9644 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1473, allocations: 0 / 0.9644 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1473, allocations: 4 kB / 0.9644 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.1479, allocations: 0.608 MB / 0.965 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1479, allocations: 0 / 0.965 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.1481, allocations: 43.92 kB / 0.9651 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1481, allocations: 7.938 kB / 0.9651 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1481, allocations: 4.188 kB / 0.9651 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1481, allocations: 7.984 kB / 0.9651 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1481, allocations: 4 kB / 0.9651 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.1484, allocations: 383.4 kB / 0.9655 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.1485, allocations: 43.77 kB / 0.9655 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1485, allocations: 11.98 kB / 0.9655 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1486, allocations: 12 kB / 0.9655 GB, free: 3.121 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.1486, allocations: 23.91 kB / 0.9655 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1487, allocations: 4 kB / 0.9656 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.463e-05/0.1487, allocations: 193.1 kB / 0.9657 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1487, allocations: 4.031 kB / 0.9657 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002937/0.149, allocations: 123.6 kB / 0.9659 GB, free: 2.785 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.0002563/0.1493, allocations: 167 kB / 0.966 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1495, allocations: 115.5 kB / 0.9661 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1495, allocations: 320 / 0.9661 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.1496, allocations: 71.53 kB / 0.9662 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.15, allocations: 110.9 kB / 0.9663 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.151, allocations: 0.5634 MB / 0.9669 GB, free: 1.688 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.151, allocations: 96.53 kB / 0.9669 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.1512, allocations: 53.91 kB / 0.967 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.1512, allocations: 32.48 kB / 0.967 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/0.1512, allocations: 0 / 0.967 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of Templates: time 0.007871/0.1591, allocations: 5.726 MB / 0.9726 GB, free: 11.89 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.3083923677913845]