Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001269/0.001269, allocations: 121.1 kB / 16.82 MB, free: 5.754 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.001237/0.001237, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.394/1.394, allocations: 225.6 MB / 244.2 MB, free: 13.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.27 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3421, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2354/0.5775, allocations: 165.8 MB / 1.424 GB, free: 6.535 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.5805, allocations: 1.564 MB / 1.426 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.5808, allocations: 11.94 kB / 1.426 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.5813, allocations: 150.9 kB / 1.426 GB, free: 4.809 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5825, allocations: 485.8 kB / 1.426 GB, free: 4.332 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.5845, allocations: 0.7657 MB / 1.427 GB, free: 3.566 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008625/0.5853, allocations: 0.7059 MB / 1.428 GB, free: 2.855 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.5857, allocations: 234.7 kB / 1.428 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/0.5863, allocations: 314.8 kB / 1.428 GB, free: 2.312 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.5866, allocations: 243 kB / 1.428 GB, free: 2.074 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.5867, allocations: 24 kB / 1.428 GB, free: 2.051 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.5882, allocations: 0.9158 MB / 1.429 GB, free: 1.133 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.5884, allocations: 111.7 kB / 1.429 GB, free: 1.023 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.5886, allocations: 155.2 kB / 1.429 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.5897, allocations: 0.7592 MB / 1.43 GB, free: 112 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5897, allocations: 0 / 1.43 GB, free: 112 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5897, allocations: 0 / 1.43 GB, free: 112 kB / 1.139 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5897, allocations: 0 / 1.43 GB, free: 112 kB / 1.139 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.001239/0.591, allocations: 0.6773 MB / 1.431 GB, free: 15.38 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.591, allocations: 8.031 kB / 1.431 GB, free: 15.37 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.5915, allocations: 95.62 kB / 1.431 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.592, allocations: 318 kB / 1.431 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.592, allocations: 16.56 kB / 1.431 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.5921, allocations: 24 kB / 1.431 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.5928, allocations: 332.1 kB / 1.432 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5928, allocations: 0 / 1.432 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.5928, allocations: 12 kB / 1.432 GB, free: 14.54 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5928, allocations: 11.94 kB / 1.432 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.5936, allocations: 281.5 kB / 1.432 GB, free: 14.26 MB / 1.154 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.001744/0.5954, allocations: 1.072 MB / 1.433 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.5963, allocations: 311.7 kB / 1.433 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5966, allocations: 132.8 kB / 1.433 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006973/0.5973, allocations: 384.3 kB / 1.434 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5974, allocations: 42.48 kB / 1.434 GB, free: 12.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.5974, allocations: 4 kB / 1.434 GB, free: 12.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.5986, allocations: 415.5 kB / 1.434 GB, free: 11.74 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.5987, allocations: 55.41 kB / 1.434 GB, free: 11.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.599, allocations: 263 kB / 1.435 GB, free: 11.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.599, allocations: 29.7 kB / 1.435 GB, free: 11.38 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.5991, allocations: 172.3 kB / 1.435 GB, free: 11.2 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.5992, allocations: 75.36 kB / 1.435 GB, free: 11.12 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.5993, allocations: 45.7 kB / 1.435 GB, free: 11.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5995, allocations: 334.8 kB / 1.435 GB, free: 10.74 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.5998, allocations: 103.9 kB / 1.435 GB, free: 10.64 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.6001, allocations: 161.9 kB / 1.435 GB, free: 10.46 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.6008, allocations: 278.7 kB / 1.436 GB, free: 10.17 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6008, allocations: 0 / 1.436 GB, free: 10.17 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007783/0.6016, allocations: 313.3 kB / 1.436 GB, free: 9.855 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6016, allocations: 8 kB / 1.436 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6016, allocations: 0 / 1.436 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6016, allocations: 4 kB / 1.436 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.6019, allocations: 59.89 kB / 1.436 GB, free: 9.785 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6019, allocations: 7.938 kB / 1.436 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.6022, allocations: 35.81 kB / 1.436 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.6022, allocations: 12 kB / 1.436 GB, free: 9.73 MB / 1.154 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.0001703/0.6024, allocations: 149.9 kB / 1.436 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.6024, allocations: 27.86 kB / 1.436 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.6033, allocations: 317.2 kB / 1.437 GB, free: 9.23 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.6033, allocations: 15.92 kB / 1.437 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6033, allocations: 0 / 1.437 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6034, allocations: 128.8 kB / 1.437 GB, free: 9.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.6035, allocations: 4 kB / 1.437 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6037, allocations: 15.98 kB / 1.437 GB, free: 9.051 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.6037, allocations: 15.97 kB / 1.437 GB, free: 9.035 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009321/0.6047, allocations: 374.9 kB / 1.437 GB, free: 8.664 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.6059, allocations: 0.5998 MB / 1.438 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003282/0.6062, allocations: 118.3 kB / 1.438 GB, free: 7.934 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001957/0.6064, allocations: 194 kB / 1.438 GB, free: 7.746 MB / 1.154 GB Notification: Performance of Backend: time 4.41e-07/0.6064, allocations: 4.062 kB / 1.438 GB, free: 7.742 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.6078, allocations: 438.8 kB / 1.438 GB, free: 7.316 MB / 1.154 GB Notification: Performance of SimCode: time 0.001499/0.6093, allocations: 1.057 MB / 1.439 GB, free: 6.211 MB / 1.154 GB Notification: Performance of Templates: time 0.01492/0.6242, allocations: 8.096 MB / 1.447 GB, free: 14.18 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches