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.001705/0.001705, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002289/0.002289, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] 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 3.315/3.315, allocations: 495.8 MB / 0.783 GB, free: 33.76 MB / 0.6231 GB " [Timeout remaining time 176] 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.002139/0.002139, allocations: 64.86 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4077, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2159/0.6236, allocations: 164.2 MB / 1.467 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.6272, allocations: 1.563 MB / 1.469 GB, free: 11.42 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.6275, allocations: 15.81 kB / 1.469 GB, free: 11.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.6281, allocations: 142.9 kB / 1.469 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.6296, allocations: 497.8 kB / 1.469 GB, free: 10.78 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.6319, allocations: 0.7896 MB / 1.47 GB, free: 9.988 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.6332, allocations: 0.7291 MB / 1.471 GB, free: 9.258 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.6336, allocations: 207.1 kB / 1.471 GB, free: 9.055 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.6347, allocations: 478.3 kB / 1.471 GB, free: 8.586 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.635, allocations: 247 kB / 1.472 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.6351, allocations: 28 kB / 1.472 GB, free: 8.316 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.6366, allocations: 0.7404 MB / 1.472 GB, free: 7.574 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.6368, allocations: 111.7 kB / 1.472 GB, free: 7.465 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.637, allocations: 159.2 kB / 1.473 GB, free: 7.309 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.6383, allocations: 0.7125 MB / 1.473 GB, free: 6.594 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6384, allocations: 0 / 1.473 GB, free: 6.594 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6384, allocations: 0 / 1.473 GB, free: 6.594 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6384, allocations: 3.938 kB / 1.473 GB, free: 6.59 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.001328/0.6397, allocations: 0.6096 MB / 1.474 GB, free: 5.949 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6397, allocations: 12.03 kB / 1.474 GB, free: 5.938 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005744/0.6403, allocations: 87.64 kB / 1.474 GB, free: 5.852 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.6408, allocations: 256.1 kB / 1.474 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.6408, allocations: 16.5 kB / 1.474 GB, free: 5.555 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.6409, allocations: 24 kB / 1.474 GB, free: 5.531 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.6417, allocations: 331.4 kB / 1.475 GB, free: 5.195 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6417, allocations: 0 / 1.475 GB, free: 5.195 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.6417, allocations: 8 kB / 1.475 GB, free: 5.188 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.6417, allocations: 11.94 kB / 1.475 GB, free: 5.176 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008337/0.6426, allocations: 285.5 kB / 1.475 GB, free: 4.895 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.00181/0.6444, allocations: 1.022 MB / 1.476 GB, free: 3.812 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.6453, allocations: 246.5 kB / 1.476 GB, free: 3.562 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.6457, allocations: 124.7 kB / 1.476 GB, free: 3.438 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.6463, allocations: 91.89 kB / 1.476 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6463, allocations: 34.56 kB / 1.476 GB, free: 3.305 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.6463, allocations: 0 / 1.476 GB, free: 3.305 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.00154/0.6478, allocations: 415.5 kB / 1.477 GB, free: 2.895 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.6479, allocations: 51.41 kB / 1.477 GB, free: 2.832 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.6482, allocations: 268.2 kB / 1.477 GB, free: 2.566 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.6483, allocations: 25.7 kB / 1.477 GB, free: 2.535 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6484, allocations: 180.4 kB / 1.477 GB, free: 2.355 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.6485, allocations: 67.42 kB / 1.477 GB, free: 2.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.6486, allocations: 49.7 kB / 1.477 GB, free: 2.234 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6487, allocations: 330.8 kB / 1.478 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.6491, allocations: 103.9 kB / 1.478 GB, free: 1.801 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.6495, allocations: 166.8 kB / 1.478 GB, free: 1.617 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.6503, allocations: 274.2 kB / 1.478 GB, free: 1.332 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.6503, allocations: 4 kB / 1.478 GB, free: 1.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008399/0.6511, allocations: 314.8 kB / 1.479 GB, free: 1.016 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6512, allocations: 8 kB / 1.479 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6512, allocations: 0 / 1.479 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.6512, allocations: 7.938 kB / 1.479 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.6515, allocations: 56.11 kB / 1.479 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.6515, allocations: 7.938 kB / 1.479 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.6518, allocations: 47.78 kB / 1.479 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.6518, allocations: 8 kB / 1.479 GB, free: 0.8828 MB / 1.17 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.0001925/0.652, allocations: 153.8 kB / 1.479 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.6521, allocations: 27.86 kB / 1.479 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.653, allocations: 319.5 kB / 1.479 GB, free: 380 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.653, allocations: 3.938 kB / 1.479 GB, free: 376 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.653, allocations: 11.92 kB / 1.479 GB, free: 364 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.653, allocations: 0 / 1.479 GB, free: 364 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.6548, allocations: 0.8294 MB / 1.48 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6548, allocations: 0 / 1.48 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.655, allocations: 51.89 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.319e-06/0.655, allocations: 7.938 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.6551, allocations: 8 kB / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6551, allocations: 0 / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6551, allocations: 4 kB / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6564, allocations: 0.5568 MB / 1.481 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.6565, allocations: 55.75 kB / 1.481 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.6565, allocations: 11.98 kB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.6568, allocations: 19.98 kB / 1.481 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.6569, allocations: 23.97 kB / 1.481 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.6569, allocations: 15.98 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000204/0.6571, allocations: 191.1 kB / 1.481 GB, free: 14.47 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6571, allocations: 0 / 1.481 GB, free: 14.47 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005032/0.6576, allocations: 111.8 kB / 1.481 GB, free: 14.36 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.0005238/0.6581, allocations: 196.8 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.6589, allocations: 249.4 kB / 1.481 GB, free: 13.93 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6589, allocations: 4.312 kB / 1.481 GB, free: 13.92 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.6593, allocations: 135.3 kB / 1.482 GB, free: 13.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.6602, allocations: 134.8 kB / 1.482 GB, free: 13.67 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.6615, allocations: 0.6074 MB / 1.482 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.6619, allocations: 0.7755 MB / 1.483 GB, free: 12.21 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.6621, allocations: 70.23 kB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.6622, allocations: 27.44 kB / 1.483 GB, free: 12.11 MB / 1.186 GB Notification: Performance of SimCode: time 6.52e-07/0.6622, allocations: 0 / 1.483 GB, free: 12.11 MB / 1.186 GB Notification: Performance of Templates: time 0.01324/0.6755, allocations: 6.134 MB / 1.489 GB, free: 6.059 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: 9.785474929958582]