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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008692/0.008692, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001866/0.001866, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9619/0.9639, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1795/1.143, allocations: 165.3 MB / 1.369 GB, free: 7.742 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003064/1.146, allocations: 1.562 MB / 1.371 GB, free: 6.176 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/1.147, allocations: 7.938 kB / 1.371 GB, free: 6.168 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/1.147, allocations: 142.9 kB / 1.371 GB, free: 6.027 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/1.148, allocations: 465.9 kB / 1.371 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/1.15, allocations: 0.7605 MB / 1.372 GB, free: 4.809 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006798/1.151, allocations: 0.7059 MB / 1.373 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/1.151, allocations: 266.7 kB / 1.373 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/1.152, allocations: 314.8 kB / 1.373 GB, free: 3.527 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/1.152, allocations: 227.1 kB / 1.373 GB, free: 3.305 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/1.152, allocations: 24 kB / 1.373 GB, free: 3.281 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/1.154, allocations: 0.8652 MB / 1.374 GB, free: 2.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/1.154, allocations: 115.7 kB / 1.374 GB, free: 2.301 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/1.154, allocations: 151.3 kB / 1.375 GB, free: 2.152 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009489/1.155, allocations: 0.7383 MB / 1.375 GB, free: 1.414 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.155, allocations: 4 kB / 1.375 GB, free: 1.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/1.155, allocations: 0 / 1.375 GB, free: 1.41 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.155, allocations: 4 kB / 1.375 GB, free: 1.406 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.001103/1.156, allocations: 0.674 MB / 1.376 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.156, allocations: 8.031 kB / 1.376 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/1.156, allocations: 87.52 kB / 1.376 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/1.157, allocations: 309.8 kB / 1.376 GB, free: 256 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/1.157, allocations: 24.56 kB / 1.376 GB, free: 228 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/1.157, allocations: 24 kB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/1.158, allocations: 328.2 kB / 1.377 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.158, allocations: 0 / 1.377 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.158, allocations: 8 kB / 1.377 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/1.158, allocations: 15.88 kB / 1.377 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/1.158, allocations: 289.5 kB / 1.377 GB, free: 15.56 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.001591/1.16, allocations: 1.059 MB / 1.378 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/1.161, allocations: 331.6 kB / 1.378 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/1.161, allocations: 132.8 kB / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/1.162, allocations: 396.3 kB / 1.379 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.162, allocations: 38.56 kB / 1.379 GB, free: 13.44 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/1.162, allocations: 0 / 1.379 GB, free: 13.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001224/1.163, allocations: 406.5 kB / 1.379 GB, free: 13.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.163, allocations: 63.39 kB / 1.379 GB, free: 12.96 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/1.164, allocations: 263 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.164, allocations: 37.69 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.164, allocations: 164.2 kB / 1.38 GB, free: 12.49 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/1.164, allocations: 70.98 kB / 1.38 GB, free: 12.42 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/1.164, allocations: 45.7 kB / 1.38 GB, free: 12.37 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.164, allocations: 334.8 kB / 1.38 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/1.164, allocations: 103.9 kB / 1.38 GB, free: 11.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/1.165, allocations: 160.1 kB / 1.38 GB, free: 11.76 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/1.165, allocations: 271.3 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.165, allocations: 0 / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007254/1.166, allocations: 315.3 kB / 1.381 GB, free: 11.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.166, allocations: 12.14 kB / 1.381 GB, free: 11.15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.166, allocations: 4 kB / 1.381 GB, free: 11.15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.166, allocations: 3.938 kB / 1.381 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/1.166, allocations: 55.91 kB / 1.381 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.166, allocations: 3.984 kB / 1.381 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/1.167, allocations: 43.66 kB / 1.381 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.167, allocations: 15.94 kB / 1.381 GB, free: 11.03 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.0001502/1.167, allocations: 153.8 kB / 1.381 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/1.167, allocations: 23.72 kB / 1.381 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008047/1.168, allocations: 323.5 kB / 1.382 GB, free: 10.52 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/1.168, allocations: 7.938 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.168, allocations: 4 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.168, allocations: 64 / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/1.169, allocations: 0.9291 MB / 1.383 GB, free: 9.473 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.169, allocations: 0 / 1.383 GB, free: 9.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/1.169, allocations: 47.95 kB / 1.383 GB, free: 9.426 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.17, allocations: 4 kB / 1.383 GB, free: 9.422 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/1.17, allocations: 8.188 kB / 1.383 GB, free: 9.414 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.17, allocations: 4 kB / 1.383 GB, free: 9.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.17, allocations: 7.938 kB / 1.383 GB, free: 9.402 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.171, allocations: 0.5526 MB / 1.383 GB, free: 8.816 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.171, allocations: 124.8 kB / 1.383 GB, free: 8.676 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/1.171, allocations: 16.05 kB / 1.383 GB, free: 8.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.171, allocations: 15.98 kB / 1.383 GB, free: 8.645 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/1.171, allocations: 31.78 kB / 1.383 GB, free: 8.613 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/1.171, allocations: 12 kB / 1.383 GB, free: 8.602 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001726/1.171, allocations: 186 kB / 1.384 GB, free: 8.418 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.81e-07/1.171, allocations: 4 kB / 1.384 GB, free: 8.414 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004434/1.172, allocations: 111.8 kB / 1.384 GB, free: 8.305 MB / 1.107 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.0004554/1.172, allocations: 206.1 kB / 1.384 GB, free: 8.105 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007131/1.173, allocations: 255.8 kB / 1.384 GB, free: 7.855 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.173, allocations: 3.938 kB / 1.384 GB, free: 7.852 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/1.173, allocations: 131.8 kB / 1.384 GB, free: 7.723 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/1.174, allocations: 125.3 kB / 1.384 GB, free: 7.602 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.175, allocations: 0.609 MB / 1.385 GB, free: 6.953 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/1.175, allocations: 0.7794 MB / 1.386 GB, free: 6.148 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001913/1.176, allocations: 62.25 kB / 1.386 GB, free: 6.086 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/1.176, allocations: 27.44 kB / 1.386 GB, free: 6.059 MB / 1.107 GB Notification: Performance of SimCode: time 2.11e-07/1.176, allocations: 0 / 1.386 GB, free: 6.059 MB / 1.107 GB Notification: Performance of Templates: time 0.009845/1.186, allocations: 5.986 MB / 1.392 GB, free: 152 kB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches