Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009313/0.0009313, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009175/0.0009175, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9433/0.9433, allocations: 177.2 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.388/2.388, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.838e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1451/0.1451, allocations: 143.6 MB / 1.03 GB, free: 9.555 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1475, allocations: 1.503 MB / 1.031 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.1479, allocations: 15.88 kB / 1.031 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1483, allocations: 75.34 kB / 1.032 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008277/0.1491, allocations: 334.1 kB / 1.032 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1502, allocations: 486.3 kB / 1.032 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.1509, allocations: 0.6666 MB / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1512, allocations: 195.2 kB / 1.033 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.1518, allocations: 371 kB / 1.034 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.152, allocations: 195.4 kB / 1.034 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.152, allocations: 24 kB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.1526, allocations: 403 kB / 1.034 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1527, allocations: 127.6 kB / 1.034 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1528, allocations: 111.8 kB / 1.034 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007315/0.1536, allocations: 0.4985 MB / 1.035 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1536, allocations: 0 / 1.035 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1536, allocations: 4 kB / 1.035 GB, free: 4.574 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1536, allocations: 0 / 1.035 GB, free: 4.574 MB / 0.9948 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.0006973/0.1543, allocations: 0.6588 MB / 1.035 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1543, allocations: 12.03 kB / 1.035 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.1547, allocations: 136.3 kB / 1.036 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.155, allocations: 245.1 kB / 1.036 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.155, allocations: 16.88 kB / 1.036 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1551, allocations: 28.38 kB / 1.036 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1554, allocations: 258.4 kB / 1.036 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1554, allocations: 3.938 kB / 1.036 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1554, allocations: 12 kB / 1.036 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1554, allocations: 4 kB / 1.036 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1555, allocations: 75.42 kB / 1.036 GB, free: 3.051 MB / 0.9948 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.001234/0.1568, allocations: 1.011 MB / 1.037 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1571, allocations: 127.1 kB / 1.037 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1572, allocations: 43.67 kB / 1.037 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.1574, allocations: 71.97 kB / 1.037 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1575, allocations: 45.2 kB / 1.037 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.926e-06/0.1575, allocations: 0 / 1.037 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0003666/0.1578, allocations: 175.5 kB / 1.038 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.1579, allocations: 51.41 kB / 1.038 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.158, allocations: 268.2 kB / 1.038 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.158, allocations: 29.7 kB / 1.038 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1581, allocations: 226.9 kB / 1.038 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.1582, allocations: 71.41 kB / 1.038 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.1582, allocations: 47.34 kB / 1.038 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1584, allocations: 0.5079 MB / 1.039 GB, free: 260 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.1584, allocations: 19.98 kB / 1.039 GB, free: 240 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1585, allocations: 178.7 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1587, allocations: 132.1 kB / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1587, allocations: 0 / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001943/0.1589, allocations: 157.3 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1589, allocations: 11.94 kB / 1.039 GB, free: 15.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1589, allocations: 0 / 1.039 GB, free: 15.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1589, allocations: 4 kB / 1.039 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1591, allocations: 48.06 kB / 1.039 GB, free: 15.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1591, allocations: 8 kB / 1.039 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1592, allocations: 31.62 kB / 1.039 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1592, allocations: 8 kB / 1.039 GB, free: 15.59 MB / 1.01 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.000104/0.1593, allocations: 164.5 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.1593, allocations: 35.8 kB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1595, allocations: 162 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1596, allocations: 3.984 kB / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1596, allocations: 4 kB / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1596, allocations: 0 / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.1602, allocations: 0.5582 MB / 1.04 GB, free: 14.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1602, allocations: 4 kB / 1.04 GB, free: 14.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1603, allocations: 43.97 kB / 1.04 GB, free: 14.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1603, allocations: 0 / 1.04 GB, free: 14.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1603, allocations: 4 kB / 1.04 GB, free: 14.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1603, allocations: 12.12 kB / 1.04 GB, free: 14.54 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1603, allocations: 3.938 kB / 1.04 GB, free: 14.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1606, allocations: 373.4 kB / 1.041 GB, free: 14.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.1607, allocations: 35.83 kB / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1607, allocations: 4 kB / 1.041 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.1608, allocations: 15.98 kB / 1.041 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1609, allocations: 27.84 kB / 1.041 GB, free: 14.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1609, allocations: 8 kB / 1.041 GB, free: 14.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.161, allocations: 177.1 kB / 1.041 GB, free: 13.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.161, allocations: 4.031 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003549/0.1613, allocations: 115.7 kB / 1.041 GB, free: 13.75 MB / 1.01 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.0002753/0.1616, allocations: 179 kB / 1.041 GB, free: 13.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1618, allocations: 101.7 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1618, allocations: 4.312 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.1618, allocations: 55.59 kB / 1.041 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1623, allocations: 112.6 kB / 1.041 GB, free: 13.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.1632, allocations: 0.5439 MB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.1633, allocations: 100.5 kB / 1.042 GB, free: 12.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000141/0.1634, allocations: 37.92 kB / 1.042 GB, free: 12.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.1636, allocations: 154.1 kB / 1.042 GB, free: 12.38 MB / 1.01 GB Notification: Performance of SimCode: time 1.793e-06/0.1636, allocations: 4 kB / 1.042 GB, free: 12.38 MB / 1.01 GB Notification: Performance of Templates: time 0.008238/0.1719, allocations: 5.651 MB / 1.048 GB, free: 6.836 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.030511580873281]