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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 189.3 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001829/0.001829, allocations: 69.12 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3304, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1927/0.5231, allocations: 166 MB / 1.469 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.526, allocations: 1.563 MB / 1.471 GB, free: 9.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.5263, allocations: 15.81 kB / 1.471 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.5268, allocations: 150.9 kB / 1.471 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.5281, allocations: 489.8 kB / 1.472 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.5301, allocations: 0.7982 MB / 1.472 GB, free: 8.164 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008573/0.5309, allocations: 0.7253 MB / 1.473 GB, free: 7.438 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.5313, allocations: 207.1 kB / 1.473 GB, free: 7.234 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.5322, allocations: 478.4 kB / 1.474 GB, free: 6.766 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.5326, allocations: 250.9 kB / 1.474 GB, free: 6.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.5326, allocations: 27.94 kB / 1.474 GB, free: 6.492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.5342, allocations: 0.9081 MB / 1.475 GB, free: 5.582 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.5344, allocations: 115.7 kB / 1.475 GB, free: 5.469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.5345, allocations: 167.1 kB / 1.475 GB, free: 5.305 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5357, allocations: 0.7359 MB / 1.476 GB, free: 4.566 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5357, allocations: 0 / 1.476 GB, free: 4.566 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5357, allocations: 0 / 1.476 GB, free: 4.566 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5357, allocations: 0 / 1.476 GB, free: 4.566 MB / 1.17 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.001181/0.5369, allocations: 0.6135 MB / 1.476 GB, free: 3.922 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5369, allocations: 12.91 kB / 1.476 GB, free: 3.91 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.5374, allocations: 83.66 kB / 1.477 GB, free: 3.828 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.5379, allocations: 260.1 kB / 1.477 GB, free: 3.547 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5379, allocations: 16.5 kB / 1.477 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.538, allocations: 24 kB / 1.477 GB, free: 3.504 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.5387, allocations: 331.4 kB / 1.477 GB, free: 3.168 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5387, allocations: 3.938 kB / 1.477 GB, free: 3.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.5387, allocations: 12 kB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.5387, allocations: 7.938 kB / 1.477 GB, free: 3.145 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.5394, allocations: 285.5 kB / 1.477 GB, free: 2.863 MB / 1.17 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.001778/0.5412, allocations: 1.029 MB / 1.478 GB, free: 1.773 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.5421, allocations: 234.6 kB / 1.479 GB, free: 1.535 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.5424, allocations: 124.8 kB / 1.479 GB, free: 1.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/0.5429, allocations: 91.84 kB / 1.479 GB, free: 1.32 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.543, allocations: 42.45 kB / 1.479 GB, free: 1.27 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.462e-06/0.543, allocations: 0 / 1.479 GB, free: 1.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001177/0.5441, allocations: 403.1 kB / 1.479 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5442, allocations: 59.39 kB / 1.479 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5444, allocations: 264.2 kB / 1.48 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.5445, allocations: 29.7 kB / 1.48 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5446, allocations: 176.4 kB / 1.48 GB, free: 336 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.5447, allocations: 75.41 kB / 1.48 GB, free: 260 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.5448, allocations: 41.7 kB / 1.48 GB, free: 212 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5449, allocations: 338.8 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5452, allocations: 103.9 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.5455, allocations: 169.8 kB / 1.48 GB, free: 15.58 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.5461, allocations: 258.5 kB / 1.481 GB, free: 15.31 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5461, allocations: 0 / 1.481 GB, free: 15.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007066/0.5468, allocations: 317.2 kB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5469, allocations: 10.02 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5469, allocations: 8.062 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5469, allocations: 3.938 kB / 1.481 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.5471, allocations: 64.06 kB / 1.481 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5472, allocations: 7.922 kB / 1.481 GB, free: 14.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.5474, allocations: 39.75 kB / 1.481 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.5474, allocations: 12 kB / 1.481 GB, free: 14.85 MB / 1.186 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.0001619/0.5476, allocations: 153.7 kB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5476, allocations: 23.86 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.5484, allocations: 321.1 kB / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.5484, allocations: 7.969 kB / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5484, allocations: 0 / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5484, allocations: 0 / 1.482 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.5499, allocations: 0.8373 MB / 1.482 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5499, allocations: 0 / 1.482 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5502, allocations: 51.91 kB / 1.483 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5502, allocations: 0 / 1.483 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.5502, allocations: 11.92 kB / 1.483 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5502, allocations: 4 kB / 1.483 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5502, allocations: 0 / 1.483 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.5512, allocations: 0.5611 MB / 1.483 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5513, allocations: 59.75 kB / 1.483 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.5514, allocations: 4 kB / 1.483 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.5516, allocations: 23.97 kB / 1.483 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.5517, allocations: 23.97 kB / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.5517, allocations: 8 kB / 1.483 GB, free: 12.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000186/0.5519, allocations: 199 kB / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5519, allocations: 0 / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004265/0.5523, allocations: 107.8 kB / 1.483 GB, free: 12.34 MB / 1.186 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.000471/0.5528, allocations: 201.6 kB / 1.484 GB, free: 12.14 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006778/0.5534, allocations: 239.7 kB / 1.484 GB, free: 11.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5535, allocations: 4.312 kB / 1.484 GB, free: 11.9 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.5538, allocations: 135.8 kB / 1.484 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.5545, allocations: 138.6 kB / 1.484 GB, free: 11.64 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5555, allocations: 0.6074 MB / 1.485 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.5559, allocations: 0.7833 MB / 1.486 GB, free: 10.18 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.5561, allocations: 70.17 kB / 1.486 GB, free: 10.1 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.5562, allocations: 23.44 kB / 1.486 GB, free: 10.08 MB / 1.186 GB Notification: Performance of SimCode: time 2.81e-07/0.5562, allocations: 0 / 1.486 GB, free: 10.08 MB / 1.186 GB Notification: Performance of Templates: time 0.01113/0.5674, allocations: 6.124 MB / 1.492 GB, free: 4.035 MB / 1.186 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.465562429279089]