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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.2 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 190.6 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 75.88 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6693, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1682/0.8376, allocations: 165.3 MB / 1.37 GB, free: 7.895 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.8402, allocations: 1.558 MB / 1.371 GB, free: 6.332 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.8406, allocations: 15.88 kB / 1.371 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.841, allocations: 139 kB / 1.371 GB, free: 6.18 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.8422, allocations: 465.9 kB / 1.372 GB, free: 5.723 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.8439, allocations: 0.7577 MB / 1.372 GB, free: 4.965 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008121/0.8448, allocations: 0.7097 MB / 1.373 GB, free: 4.254 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.8452, allocations: 258.7 kB / 1.373 GB, free: 3.996 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.8457, allocations: 314.8 kB / 1.374 GB, free: 3.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.8461, allocations: 227 kB / 1.374 GB, free: 3.465 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.8461, allocations: 24 kB / 1.374 GB, free: 3.441 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.8476, allocations: 0.8613 MB / 1.375 GB, free: 2.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.8477, allocations: 115.6 kB / 1.375 GB, free: 2.465 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.8479, allocations: 163.2 kB / 1.375 GB, free: 2.305 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.849, allocations: 0.7305 MB / 1.376 GB, free: 1.574 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.849, allocations: 0 / 1.376 GB, free: 1.574 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.162e-06/0.849, allocations: 0 / 1.376 GB, free: 1.574 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.849, allocations: 0 / 1.376 GB, free: 1.574 MB / 1.092 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.001065/0.8501, allocations: 0.6818 MB / 1.376 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8501, allocations: 11.97 kB / 1.376 GB, free: 0.832 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.8506, allocations: 79.5 kB / 1.377 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.8511, allocations: 317.8 kB / 1.377 GB, free: 416 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.8511, allocations: 16.56 kB / 1.377 GB, free: 396 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.8512, allocations: 24 kB / 1.377 GB, free: 372 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.8518, allocations: 332.2 kB / 1.377 GB, free: 24 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8519, allocations: 3.984 kB / 1.377 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.8519, allocations: 12 kB / 1.377 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8519, allocations: 7.938 kB / 1.377 GB, free: 0 / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.8526, allocations: 285.5 kB / 1.377 GB, free: 15.72 MB / 1.107 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.001622/0.8543, allocations: 1.059 MB / 1.379 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.8552, allocations: 327.7 kB / 1.379 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.8556, allocations: 136.8 kB / 1.379 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.8563, allocations: 396.3 kB / 1.379 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8563, allocations: 34.55 kB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.8563, allocations: 0 / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001204/0.8575, allocations: 414.8 kB / 1.38 GB, free: 13.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.8576, allocations: 51.41 kB / 1.38 GB, free: 13.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.8578, allocations: 271 kB / 1.38 GB, free: 12.86 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.8578, allocations: 29.7 kB / 1.38 GB, free: 12.83 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.858, allocations: 168.2 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.858, allocations: 74.92 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.8581, allocations: 45.7 kB / 1.38 GB, free: 12.54 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8582, allocations: 334.8 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.8585, allocations: 103.9 kB / 1.381 GB, free: 12.1 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.8589, allocations: 168.3 kB / 1.381 GB, free: 11.91 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.8596, allocations: 267.4 kB / 1.381 GB, free: 11.64 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8596, allocations: 4 kB / 1.381 GB, free: 11.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007374/0.8603, allocations: 313 kB / 1.382 GB, free: 11.32 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8603, allocations: 8 kB / 1.382 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8603, allocations: 0 / 1.382 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8604, allocations: 4 kB / 1.382 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.8606, allocations: 67.98 kB / 1.382 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.8607, allocations: 4 kB / 1.382 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.8609, allocations: 43.66 kB / 1.382 GB, free: 11.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.8609, allocations: 8 kB / 1.382 GB, free: 11.19 MB / 1.107 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.0001468/0.8611, allocations: 149.8 kB / 1.382 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.8612, allocations: 27.72 kB / 1.382 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.8619, allocations: 317.4 kB / 1.382 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.862, allocations: 3.938 kB / 1.382 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.862, allocations: 3.938 kB / 1.382 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.8621, allocations: 124.7 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.8621, allocations: 7.984 kB / 1.382 GB, free: 10.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.8624, allocations: 23.98 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.8624, allocations: 19.91 kB / 1.382 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008653/0.8633, allocations: 374.4 kB / 1.383 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00109/0.8644, allocations: 0.5946 MB / 1.383 GB, free: 9.508 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003037/0.8647, allocations: 123.9 kB / 1.383 GB, free: 9.387 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000168/0.8649, allocations: 194 kB / 1.384 GB, free: 9.195 MB / 1.107 GB Notification: Performance of Backend: time 5.21e-07/0.8649, allocations: 0 / 1.384 GB, free: 9.195 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.8663, allocations: 445.2 kB / 1.384 GB, free: 8.762 MB / 1.107 GB Notification: Performance of SimCode: time 0.001331/0.8676, allocations: 1.043 MB / 1.385 GB, free: 7.672 MB / 1.107 GB Notification: Performance of Templates: time 0.01357/0.8812, allocations: 7.962 MB / 1.393 GB, free: 15.78 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches