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.001476/0.001476, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.00183/0.00183, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.53/2.53, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7555, allocations: 140.4 MB / 0.9491 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1879/0.9435, allocations: 163 MB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003858/0.9474, allocations: 1.548 MB / 1.11 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.9483, allocations: 11.94 kB / 1.11 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.949, allocations: 119.2 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.9507, allocations: 442.2 kB / 1.11 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.9529, allocations: 0.6884 MB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.954, allocations: 0.7096 MB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.9545, allocations: 250.7 kB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.9552, allocations: 314.8 kB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.9556, allocations: 243 kB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.9557, allocations: 24 kB / 1.113 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.9574, allocations: 0.9001 MB / 1.113 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.9576, allocations: 111.7 kB / 1.114 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.9579, allocations: 155.3 kB / 1.114 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.9596, allocations: 0.783 MB / 1.114 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9596, allocations: 4 kB / 1.114 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9596, allocations: 0 / 1.114 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9596, allocations: 0 / 1.114 GB, free: 8.297 MB / 0.8731 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.00149/0.9611, allocations: 0.6702 MB / 1.115 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9612, allocations: 8.031 kB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.9618, allocations: 91.41 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.9623, allocations: 297.9 kB / 1.115 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.9623, allocations: 20.56 kB / 1.115 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.9624, allocations: 24 kB / 1.115 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.9631, allocations: 328.2 kB / 1.116 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.9631, allocations: 7.938 kB / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.9632, allocations: 8 kB / 1.116 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.9632, allocations: 11.94 kB / 1.116 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/0.9639, allocations: 277.5 kB / 1.116 GB, free: 6.469 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.001832/0.9658, allocations: 1.079 MB / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.9667, allocations: 323.7 kB / 1.117 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.9671, allocations: 128.8 kB / 1.118 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.9679, allocations: 396.3 kB / 1.118 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.9679, allocations: 38.56 kB / 1.118 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 3.727e-06/0.9679, allocations: 4 kB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001236/0.9692, allocations: 402.7 kB / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.9692, allocations: 59.41 kB / 1.118 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.9695, allocations: 263 kB / 1.119 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.9695, allocations: 33.7 kB / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.9697, allocations: 176 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.9697, allocations: 63.11 kB / 1.119 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.9699, allocations: 41.7 kB / 1.119 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.97, allocations: 338.8 kB / 1.119 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.9703, allocations: 111.8 kB / 1.119 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.9707, allocations: 165.7 kB / 1.12 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.9713, allocations: 277.3 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9714, allocations: 0 / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007776/0.9721, allocations: 314.9 kB / 1.12 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.9722, allocations: 10.22 kB / 1.12 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9722, allocations: 4 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9722, allocations: 3.938 kB / 1.12 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.9725, allocations: 63.89 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9725, allocations: 0 / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.9728, allocations: 43.73 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.9728, allocations: 16 kB / 1.12 GB, free: 1.906 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.0001678/0.973, allocations: 145.8 kB / 1.12 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.9731, allocations: 31.62 kB / 1.12 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/0.9739, allocations: 321.5 kB / 1.121 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.9739, allocations: 7.938 kB / 1.121 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9739, allocations: 0 / 1.121 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9739, allocations: 0 / 1.121 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.9756, allocations: 0.9304 MB / 1.122 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9756, allocations: 0 / 1.122 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.9759, allocations: 60.08 kB / 1.122 GB, free: 308 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.9759, allocations: 4 kB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.9759, allocations: 0 / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9759, allocations: 4 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9759, allocations: 4 kB / 1.122 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.9771, allocations: 0.5549 MB / 1.122 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.9773, allocations: 128.7 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.9773, allocations: 15.98 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.9776, allocations: 23.97 kB / 1.122 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.9777, allocations: 19.92 kB / 1.122 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.9777, allocations: 12.06 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002103/0.9779, allocations: 197.9 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.846e-06/0.978, allocations: 3.938 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005095/0.9785, allocations: 107.8 kB / 1.123 GB, free: 15.18 MB / 0.8887 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.0005765/0.9791, allocations: 210.4 kB / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.9799, allocations: 261.7 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9799, allocations: 3.938 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.9803, allocations: 140.3 kB / 1.123 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.9811, allocations: 128.1 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.9824, allocations: 0.6895 MB / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.9828, allocations: 0.787 MB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.9831, allocations: 66.25 kB / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.9832, allocations: 23.44 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.9832, allocations: 0 / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.01212/0.9953, allocations: 5.787 MB / 1.131 GB, free: 7.117 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches