Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.002046/0.002046, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 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.288/2.288, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8739, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2188/1.093, allocations: 181.8 MB / 1.266 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006301/1.099, allocations: 4.458 MB / 1.271 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/1.1, allocations: 19.88 kB / 1.271 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00079/1.101, allocations: 246.1 kB / 1.271 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/1.103, allocations: 0.7932 MB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/1.107, allocations: 1.544 MB / 1.273 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001854/1.109, allocations: 1.266 MB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008718/1.11, allocations: 447.3 kB / 1.275 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/1.111, allocations: 0.5877 MB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007744/1.112, allocations: 410.3 kB / 1.276 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/1.112, allocations: 44 kB / 1.276 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/1.115, allocations: 1.555 MB / 1.277 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/1.115, allocations: 187.4 kB / 1.277 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004732/1.116, allocations: 310.5 kB / 1.278 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/1.119, allocations: 1.293 MB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.119, allocations: 4 kB / 1.279 GB, free: 10.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.119, allocations: 0 / 1.279 GB, free: 10.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.119, allocations: 0 / 1.279 GB, free: 10.74 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002213/1.121, allocations: 1.021 MB / 1.28 GB, free: 9.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.121, allocations: 12.03 kB / 1.28 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/1.123, allocations: 286.9 kB / 1.28 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/1.124, allocations: 473.4 kB / 1.281 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/1.124, allocations: 36.94 kB / 1.281 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.124, allocations: 44 kB / 1.281 GB, free: 8.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.125, allocations: 0.5429 MB / 1.281 GB, free: 8.203 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.125, allocations: 0 / 1.281 GB, free: 8.203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/1.125, allocations: 16 kB / 1.281 GB, free: 8.188 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/1.125, allocations: 15.94 kB / 1.281 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.126, allocations: 463.5 kB / 1.282 GB, free: 7.723 MB / 1.014 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.002727/1.129, allocations: 2.116 MB / 1.284 GB, free: 5.473 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/1.13, allocations: 402.4 kB / 1.284 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/1.131, allocations: 236.6 kB / 1.284 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/1.131, allocations: 396.3 kB / 1.285 GB, free: 4.375 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/1.132, allocations: 287.7 kB / 1.285 GB, free: 4.082 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/1.132, allocations: 0 / 1.285 GB, free: 4.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001763/1.134, allocations: 0.6912 MB / 1.286 GB, free: 3.383 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.134, allocations: 55.41 kB / 1.286 GB, free: 3.316 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/1.134, allocations: 0.4903 MB / 1.286 GB, free: 2.812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/1.134, allocations: 37.7 kB / 1.286 GB, free: 2.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.135, allocations: 256.1 kB / 1.287 GB, free: 2.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.135, allocations: 122.3 kB / 1.287 GB, free: 2.395 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.135, allocations: 94.03 kB / 1.287 GB, free: 2.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.135, allocations: 362.8 kB / 1.287 GB, free: 1.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/1.135, allocations: 196.8 kB / 1.287 GB, free: 1.742 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/1.136, allocations: 316.1 kB / 1.288 GB, free: 1.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/1.137, allocations: 0.5454 MB / 1.288 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.137, allocations: 4 kB / 1.288 GB, free: 0.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001289/1.138, allocations: 0.652 MB / 1.289 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/1.138, allocations: 67.33 kB / 1.289 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.138, allocations: 4 kB / 1.289 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.138, allocations: 12 kB / 1.289 GB, free: 28 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/1.139, allocations: 91.88 kB / 1.289 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.139, allocations: 8 kB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/1.14, allocations: 83.58 kB / 1.289 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/1.14, allocations: 20 kB / 1.289 GB, free: 15.83 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002701/1.14, allocations: 194.8 kB / 1.289 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/1.14, allocations: 55.33 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.141, allocations: 0.5342 MB / 1.29 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.141, allocations: 7.984 kB / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.141, allocations: 0 / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.141, allocations: 0 / 1.29 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/1.144, allocations: 1.346 MB / 1.291 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.144, allocations: 7.938 kB / 1.291 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/1.144, allocations: 75.89 kB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.144, allocations: 4.438 kB / 1.291 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/1.144, allocations: 16 kB / 1.291 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/1.144, allocations: 7.984 kB / 1.291 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.144, allocations: 7.938 kB / 1.291 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.146, allocations: 0.9328 MB / 1.292 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/1.146, allocations: 176.3 kB / 1.292 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/1.146, allocations: 20 kB / 1.292 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/1.147, allocations: 36.02 kB / 1.292 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.147, allocations: 47.83 kB / 1.292 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.147, allocations: 19.94 kB / 1.292 GB, free: 12.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004586/1.147, allocations: 346.8 kB / 1.293 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.147, allocations: 4 kB / 1.293 GB, free: 11.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006142/1.148, allocations: 151.8 kB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004747/1.148, allocations: 207.5 kB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001206/1.15, allocations: 0.5868 MB / 1.294 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.15, allocations: 0 / 1.294 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006157/1.15, allocations: 273.2 kB / 1.294 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.152, allocations: 288.7 kB / 1.294 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/1.153, allocations: 1.055 MB / 1.295 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/1.154, allocations: 0.8665 MB / 1.296 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/1.154, allocations: 47.44 kB / 1.296 GB, free: 8.234 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/1.154, allocations: 0 / 1.296 GB, free: 8.234 MB / 1.029 GB Notification: Performance of Templates: time 0.01526/1.169, allocations: 9.068 MB / 1.305 GB, free: 15.26 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches