Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_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_9_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.001568/0.001568, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.00176/0.00176, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.696/2.696, allocations: 390.3 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 68.5 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2752, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7273/1.002, allocations: 163 MB / 1.109 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003122/1.006, allocations: 1.543 MB / 1.11 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/1.006, allocations: 9.625 kB / 1.11 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/1.007, allocations: 122.9 kB / 1.111 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/1.008, allocations: 433.9 kB / 1.111 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.011, allocations: 0.6971 MB / 1.112 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001085/1.012, allocations: 0.7008 MB / 1.112 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/1.012, allocations: 261.8 kB / 1.113 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/1.013, allocations: 317.9 kB / 1.113 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/1.013, allocations: 240 kB / 1.113 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/1.013, allocations: 25.19 kB / 1.113 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/1.015, allocations: 0.8916 MB / 1.114 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/1.015, allocations: 112.7 kB / 1.114 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/1.015, allocations: 160.5 kB / 1.114 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009785/1.016, allocations: 0.5182 MB / 1.115 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.016, allocations: 4 kB / 1.115 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/1.016, allocations: 1.094 kB / 1.115 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.016, allocations: 0 / 1.115 GB, free: 5.465 MB / 0.8575 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.001468/1.018, allocations: 0.6707 MB / 1.115 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.018, allocations: 8.969 kB / 1.115 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/1.019, allocations: 97.41 kB / 1.116 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/1.019, allocations: 297.4 kB / 1.116 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.019, allocations: 17.47 kB / 1.116 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/1.019, allocations: 23 kB / 1.116 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/1.02, allocations: 335.6 kB / 1.116 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.02, allocations: 1.062 kB / 1.116 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/1.02, allocations: 10.17 kB / 1.116 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.02, allocations: 9.594 kB / 1.116 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/1.021, allocations: 285.7 kB / 1.117 GB, free: 20.64 MB / 0.8731 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.001719/1.022, allocations: 1.067 MB / 1.118 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/1.023, allocations: 328.1 kB / 1.118 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/1.024, allocations: 140.2 kB / 1.118 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/1.024, allocations: 389.5 kB / 1.118 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.024, allocations: 34.92 kB / 1.118 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 2.575e-06/1.024, allocations: 5.094 kB / 1.118 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001239/1.026, allocations: 403.5 kB / 1.119 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.026, allocations: 62.84 kB / 1.119 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/1.026, allocations: 265.9 kB / 1.119 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.026, allocations: 33.39 kB / 1.119 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.026, allocations: 171.8 kB / 1.119 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.026, allocations: 59.98 kB / 1.119 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/1.026, allocations: 45.09 kB / 1.119 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.026, allocations: 335.5 kB / 1.12 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/1.027, allocations: 107.9 kB / 1.12 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/1.027, allocations: 165.5 kB / 1.12 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/1.028, allocations: 279.4 kB / 1.12 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.028, allocations: 0 / 1.12 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007581/1.029, allocations: 316.3 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.029, allocations: 6.312 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.029, allocations: 3.734 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.029, allocations: 2.594 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/1.029, allocations: 61.34 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.029, allocations: 3.156 kB / 1.121 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.029, allocations: 44 kB / 1.121 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/1.029, allocations: 10.09 kB / 1.121 GB, free: 18.64 MB / 0.8731 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.000177/1.029, allocations: 156 kB / 1.121 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/1.029, allocations: 28.06 kB / 1.121 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/1.03, allocations: 321.1 kB / 1.121 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.03, allocations: 5.438 kB / 1.121 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.03, allocations: 2.125 kB / 1.121 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.03, allocations: 0.7031 kB / 1.121 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/1.032, allocations: 0.9251 MB / 1.122 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.032, allocations: 8.438 kB / 1.122 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/1.032, allocations: 57.34 kB / 1.122 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.032, allocations: 2.219 kB / 1.122 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.032, allocations: 7.609 kB / 1.122 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.032, allocations: 3.141 kB / 1.122 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.032, allocations: 1.562 kB / 1.122 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.033, allocations: 0.5592 MB / 1.123 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/1.033, allocations: 123.1 kB / 1.123 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.034, allocations: 7.406 kB / 1.123 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/1.034, allocations: 30.08 kB / 1.123 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/1.034, allocations: 29.69 kB / 1.123 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.034, allocations: 7.516 kB / 1.123 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001927/1.034, allocations: 194.2 kB / 1.123 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 1.123 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005759/1.035, allocations: 106.3 kB / 1.123 GB, free: 17.52 MB / 0.8731 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.0005311/1.035, allocations: 216.7 kB / 1.123 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007714/1.036, allocations: 263 kB / 1.124 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.036, allocations: 0 / 1.124 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/1.036, allocations: 141.4 kB / 1.124 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/1.037, allocations: 127 kB / 1.124 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/1.039, allocations: 0.7195 MB / 1.125 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/1.039, allocations: 0.7839 MB / 1.125 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.039, allocations: 32.09 kB / 1.125 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of SimCode: time 1.123e-06/1.039, allocations: 0 / 1.125 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.009525/1.049, allocations: 5.129 MB / 1.13 GB, free: 15.74 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches