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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00174/0.00174, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00169/0.00169, allocations: 188 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 482.3 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 72.22 kB / 0.9233 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4359, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2171/0.653, allocations: 163 MB / 1.241 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.6571, allocations: 1.555 MB / 1.242 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.6576, allocations: 7.938 kB / 1.242 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.6582, allocations: 123.2 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6597, allocations: 434.2 kB / 1.243 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.6623, allocations: 0.6935 MB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000976/0.6633, allocations: 0.6981 MB / 1.244 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.6637, allocations: 254.7 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.6647, allocations: 466.4 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.6651, allocations: 231.1 kB / 1.245 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.6651, allocations: 24 kB / 1.245 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6668, allocations: 0.8846 MB / 1.246 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.667, allocations: 111.7 kB / 1.246 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.6672, allocations: 167.1 kB / 1.246 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.6685, allocations: 0.783 MB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.6685, allocations: 0 / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6685, allocations: 3.938 kB / 1.247 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.6686, allocations: 0 / 1.247 GB, free: 3.59 MB / 0.9981 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.001458/0.67, allocations: 0.6702 MB / 1.248 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6701, allocations: 11.97 kB / 1.248 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.6706, allocations: 95.48 kB / 1.248 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.6712, allocations: 301.9 kB / 1.248 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.6712, allocations: 12.56 kB / 1.248 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.6713, allocations: 24 kB / 1.248 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.672, allocations: 336.2 kB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.6721, allocations: 0 / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.6721, allocations: 12 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6721, allocations: 7.938 kB / 1.249 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.6729, allocations: 281.5 kB / 1.249 GB, free: 1.758 MB / 0.9981 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.001791/0.6747, allocations: 1.075 MB / 1.25 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.6756, allocations: 323.6 kB / 1.25 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.676, allocations: 136.8 kB / 1.25 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7213/1.397, allocations: 389.3 kB / 1.251 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.397, allocations: 37.53 kB / 1.251 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.525e-06/1.397, allocations: 0.7188 kB / 1.251 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00137/1.399, allocations: 401.3 kB / 1.251 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.399, allocations: 53.67 kB / 1.251 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.399, allocations: 271 kB / 1.251 GB, free: 176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.399, allocations: 31.58 kB / 1.252 GB, free: 176 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/1.399, allocations: 171.5 kB / 1.252 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/1.399, allocations: 62.77 kB / 1.252 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.399, allocations: 49.94 kB / 1.252 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/1.4, allocations: 339.9 kB / 1.252 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/1.4, allocations: 105.1 kB / 1.252 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/1.4, allocations: 162.6 kB / 1.252 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/1.401, allocations: 269.2 kB / 1.253 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.401, allocations: 0.8125 kB / 1.253 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008176/1.402, allocations: 317.6 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.402, allocations: 5.031 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.402, allocations: 2.266 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.402, allocations: 9.438 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.402, allocations: 60.03 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.402, allocations: 2.922 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/1.403, allocations: 44.08 kB / 1.253 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/1.403, allocations: 7.859 kB / 1.253 GB, free: 175.4 MB / 0.9981 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.0001429/1.403, allocations: 165.8 kB / 1.253 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/1.403, allocations: 25.34 kB / 1.253 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/1.404, allocations: 314 kB / 1.254 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.404, allocations: 7.219 kB / 1.254 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.404, allocations: 2.438 kB / 1.254 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.404, allocations: 1.938 kB / 1.254 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.405, allocations: 0.9293 MB / 1.254 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.405, allocations: 2.281 kB / 1.254 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/1.406, allocations: 50.7 kB / 1.254 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.406, allocations: 2.812 kB / 1.255 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.406, allocations: 8.547 kB / 1.255 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/1.406, allocations: 6.844 kB / 1.255 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.406, allocations: 6.281 kB / 1.255 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.407, allocations: 0.5523 MB / 1.255 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.407, allocations: 124.9 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/1.407, allocations: 7.641 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/1.407, allocations: 37.77 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/1.407, allocations: 26.11 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/1.407, allocations: 7.766 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002105/1.408, allocations: 194.7 kB / 1.255 GB, free: 174 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.408, allocations: 0 / 1.255 GB, free: 174 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004696/1.408, allocations: 105.8 kB / 1.256 GB, free: 174 MB / 0.9981 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.0005605/1.409, allocations: 204.1 kB / 1.256 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008092/1.409, allocations: 263.6 kB / 1.256 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.409, allocations: 0.9688 kB / 1.256 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/1.41, allocations: 142.4 kB / 1.256 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/1.411, allocations: 128.7 kB / 1.256 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.412, allocations: 0.6956 MB / 1.257 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/1.412, allocations: 0.7788 MB / 1.258 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002431/1.412, allocations: 67.86 kB / 1.258 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/1.412, allocations: 25.95 kB / 1.258 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.412, allocations: 0 / 1.258 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01316/1.426, allocations: 5.787 MB / 1.263 GB, free: 172.2 MB / 0.9981 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=400 -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