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.001294/0.001294, allocations: 111.4 kB / 16.37 MB, free: 6 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.001474/0.001474, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.89 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2826, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6409/0.9235, allocations: 165.3 MB / 1.188 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.9269, allocations: 1.545 MB / 1.19 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.9273, allocations: 10.91 kB / 1.19 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.9278, allocations: 146.7 kB / 1.19 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.9292, allocations: 464.3 kB / 1.19 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.9313, allocations: 0.7562 MB / 1.191 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.9322, allocations: 0.7001 MB / 1.192 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.9327, allocations: 266 kB / 1.192 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.9332, allocations: 311.3 kB / 1.192 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.9335, allocations: 224 kB / 1.192 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.9336, allocations: 24.03 kB / 1.192 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.9351, allocations: 0.8719 MB / 1.193 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.9353, allocations: 111.9 kB / 1.193 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.9355, allocations: 162.7 kB / 1.194 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.9369, allocations: 0.7303 MB / 1.194 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.9369, allocations: 1.156 kB / 1.194 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9369, allocations: 0 / 1.194 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.9369, allocations: 0 / 1.194 GB, free: 11.07 MB / 0.9044 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.001391/0.9383, allocations: 0.6782 MB / 1.195 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.9384, allocations: 12.09 kB / 1.195 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.939, allocations: 87.92 kB / 1.195 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.9395, allocations: 317.2 kB / 1.195 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.9396, allocations: 14.09 kB / 1.195 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.9396, allocations: 25.44 kB / 1.195 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.9404, allocations: 340.2 kB / 1.196 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.9404, allocations: 4 kB / 1.196 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.9404, allocations: 10.75 kB / 1.196 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.9405, allocations: 9.438 kB / 1.196 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.9412, allocations: 278.1 kB / 1.196 GB, free: 9.77 MB / 0.9044 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.001892/0.9431, allocations: 1.063 MB / 1.197 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.9441, allocations: 319.4 kB / 1.197 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.9445, allocations: 144.4 kB / 1.197 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/0.9452, allocations: 392.5 kB / 1.198 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.9453, allocations: 34.56 kB / 1.198 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.9453, allocations: 6.594 kB / 1.198 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001161/0.9464, allocations: 404.4 kB / 1.198 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9465, allocations: 57.5 kB / 1.198 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.9467, allocations: 269.5 kB / 1.199 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.9468, allocations: 29.7 kB / 1.199 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.9469, allocations: 164.2 kB / 1.199 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.947, allocations: 66.41 kB / 1.199 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.947, allocations: 52.05 kB / 1.199 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9472, allocations: 342.9 kB / 1.199 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.9475, allocations: 106.4 kB / 1.199 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.9478, allocations: 162.7 kB / 1.199 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.9483, allocations: 263.8 kB / 1.2 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9484, allocations: 0 / 1.2 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006638/0.949, allocations: 316 kB / 1.2 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9491, allocations: 5.531 kB / 1.2 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.9491, allocations: 2.906 kB / 1.2 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9491, allocations: 2.875 kB / 1.2 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.9494, allocations: 65.98 kB / 1.2 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.9494, allocations: 2.156 kB / 1.2 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9496, allocations: 43.47 kB / 1.2 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.9497, allocations: 9.219 kB / 1.2 GB, free: 6.559 MB / 0.9044 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.000165/0.9498, allocations: 156.1 kB / 1.2 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.9499, allocations: 24.84 kB / 1.2 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.9506, allocations: 319.6 kB / 1.201 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.9506, allocations: 10.47 kB / 1.201 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9506, allocations: 0 / 1.201 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.9507, allocations: 5.109 kB / 1.201 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.9521, allocations: 0.9264 MB / 1.202 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9522, allocations: 0 / 1.202 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.9524, allocations: 56.77 kB / 1.202 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.9524, allocations: 6.594 kB / 1.202 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.9525, allocations: 2.5 kB / 1.202 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.9525, allocations: 2.5 kB / 1.202 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9525, allocations: 11.84 kB / 1.202 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.9535, allocations: 0.5613 MB / 1.202 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.9536, allocations: 126 kB / 1.202 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.9537, allocations: 4.844 kB / 1.202 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.9539, allocations: 22.22 kB / 1.202 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.954, allocations: 24.17 kB / 1.202 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.954, allocations: 7.219 kB / 1.202 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001653/0.9542, allocations: 195.9 kB / 1.203 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9542, allocations: 4.062 kB / 1.203 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000453/0.9547, allocations: 105.2 kB / 1.203 GB, free: 4.676 MB / 0.9044 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.0004386/0.9551, allocations: 197.2 kB / 1.203 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006602/0.9558, allocations: 266.4 kB / 1.203 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9558, allocations: 0 / 1.203 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.9561, allocations: 144 kB / 1.203 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.9569, allocations: 135.2 kB / 1.203 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.9579, allocations: 0.5886 MB / 1.204 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.9582, allocations: 0.7847 MB / 1.205 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.9584, allocations: 69.41 kB / 1.205 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.9585, allocations: 24.41 kB / 1.205 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9585, allocations: 4 kB / 1.205 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of Templates: time 0.01009/0.9686, allocations: 5.947 MB / 1.211 GB, free: 132 kB / 0.9044 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 -s gbode -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