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.001378/0.001378, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001537/0.001537, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.98 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3242, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7323/1.056, allocations: 165.3 MB / 1.226 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002838/1.059, allocations: 1.555 MB / 1.227 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/1.06, allocations: 10.44 kB / 1.227 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004464/1.06, allocations: 151.7 kB / 1.227 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/1.062, allocations: 467.1 kB / 1.228 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/1.063, allocations: 0.7564 MB / 1.228 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007356/1.064, allocations: 0.6981 MB / 1.229 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/1.065, allocations: 273.9 kB / 1.229 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/1.065, allocations: 301.2 kB / 1.23 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/1.065, allocations: 219.9 kB / 1.23 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/1.065, allocations: 25.84 kB / 1.23 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/1.067, allocations: 0.8655 MB / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/1.067, allocations: 112.1 kB / 1.231 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/1.067, allocations: 162.4 kB / 1.231 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/1.068, allocations: 0.7254 MB / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.068, allocations: 0 / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/1.068, allocations: 0 / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.635e-06/1.068, allocations: 0 / 1.232 GB, free: 13.16 MB / 0.9512 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.001134/1.07, allocations: 0.6861 MB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/1.07, allocations: 7.312 kB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/1.07, allocations: 83.91 kB / 1.232 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/1.07, allocations: 306 kB / 1.233 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.07, allocations: 14.41 kB / 1.233 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/1.071, allocations: 27.56 kB / 1.233 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/1.071, allocations: 329.4 kB / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.071, allocations: 3.938 kB / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/1.071, allocations: 14.25 kB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.071, allocations: 12.75 kB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/1.072, allocations: 286.3 kB / 1.233 GB, free: 11.75 MB / 0.9512 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.001558/1.074, allocations: 1.071 MB / 1.234 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/1.074, allocations: 323.7 kB / 1.235 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/1.075, allocations: 132.8 kB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/1.075, allocations: 396.3 kB / 1.235 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.075, allocations: 34.5 kB / 1.235 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.552e-06/1.075, allocations: 0 / 1.235 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.00117/1.077, allocations: 403 kB / 1.236 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.077, allocations: 55.34 kB / 1.236 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/1.077, allocations: 270.9 kB / 1.236 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/1.077, allocations: 29.7 kB / 1.236 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.077, allocations: 180.1 kB / 1.236 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/1.077, allocations: 63.09 kB / 1.236 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/1.077, allocations: 45.62 kB / 1.236 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.077, allocations: 338.8 kB / 1.237 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/1.078, allocations: 104.8 kB / 1.237 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/1.078, allocations: 167.5 kB / 1.237 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/1.079, allocations: 262.8 kB / 1.237 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.079, allocations: 4 kB / 1.237 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006994/1.079, allocations: 309.1 kB / 1.237 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.079, allocations: 10.19 kB / 1.237 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.079, allocations: 0 / 1.237 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.079, allocations: 7.984 kB / 1.237 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/1.08, allocations: 65.12 kB / 1.238 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.08, allocations: 5.562 kB / 1.238 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.08, allocations: 43.66 kB / 1.238 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/1.08, allocations: 11.98 kB / 1.238 GB, free: 7.227 MB / 0.9512 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.0001397/1.08, allocations: 149.7 kB / 1.238 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.08, allocations: 27.72 kB / 1.238 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007528/1.081, allocations: 321.2 kB / 1.238 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.081, allocations: 3.938 kB / 1.238 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.081, allocations: 4 kB / 1.238 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.081, allocations: 0 / 1.238 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/1.082, allocations: 0.929 MB / 1.239 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.082, allocations: 0 / 1.239 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/1.083, allocations: 55.89 kB / 1.239 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.083, allocations: 0 / 1.239 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.083, allocations: 4 kB / 1.239 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/1.083, allocations: 4 kB / 1.239 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.083, allocations: 3.984 kB / 1.239 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.084, allocations: 0.5686 MB / 1.24 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.084, allocations: 128.8 kB / 1.24 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/1.084, allocations: 4.047 kB / 1.24 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.084, allocations: 28.02 kB / 1.24 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/1.084, allocations: 27.91 kB / 1.24 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.084, allocations: 4 kB / 1.24 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001659/1.085, allocations: 197.9 kB / 1.24 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.24 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004594/1.085, allocations: 107.8 kB / 1.24 GB, free: 4.508 MB / 0.9512 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.0005319/1.086, allocations: 206 kB / 1.24 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007322/1.086, allocations: 271.8 kB / 1.241 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.086, allocations: 0 / 1.241 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/1.087, allocations: 135.8 kB / 1.241 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/1.087, allocations: 124.3 kB / 1.241 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.088, allocations: 0.6447 MB / 1.241 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/1.089, allocations: 0.7794 MB / 1.242 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/1.089, allocations: 27.44 kB / 1.242 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.089, allocations: 4 kB / 1.242 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.007385/1.096, allocations: 5.128 MB / 1.247 GB, free: 13.18 MB / 0.9669 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