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.001196/0.001196, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00118/0.00118, allocations: 187 kB / 17.34 MB, free: 5.742 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.347/1.347, 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.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 71.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8489/0.8504, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2067/1.057, allocations: 181.8 MB / 1.266 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006334/1.064, allocations: 4.446 MB / 1.27 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007408/1.064, allocations: 23.88 kB / 1.271 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008965/1.065, allocations: 242.1 kB / 1.271 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/1.067, allocations: 0.758 MB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/1.071, allocations: 1.521 MB / 1.273 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001654/1.073, allocations: 1.255 MB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/1.074, allocations: 447.3 kB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/1.075, allocations: 0.5798 MB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/1.076, allocations: 410.3 kB / 1.276 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.076, allocations: 48 kB / 1.276 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.079, allocations: 1.547 MB / 1.277 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/1.079, allocations: 187.4 kB / 1.277 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/1.079, allocations: 306.5 kB / 1.278 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/1.082, allocations: 1.297 MB / 1.279 GB, free: 10.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.082, allocations: 4 kB / 1.279 GB, free: 10.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.286e-06/1.082, allocations: 0 / 1.279 GB, free: 10.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.847e-05/1.082, allocations: 3.938 kB / 1.279 GB, free: 10.8 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.002141/1.084, allocations: 1.017 MB / 1.28 GB, free: 9.723 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.084, allocations: 12.03 kB / 1.28 GB, free: 9.711 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/1.086, allocations: 282.9 kB / 1.28 GB, free: 9.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/1.087, allocations: 481.3 kB / 1.281 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/1.087, allocations: 29 kB / 1.281 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/1.087, allocations: 52 kB / 1.281 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.088, allocations: 0.5468 MB / 1.281 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.088, allocations: 0 / 1.281 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/1.088, allocations: 16 kB / 1.281 GB, free: 8.242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.088, allocations: 11.94 kB / 1.281 GB, free: 8.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.089, allocations: 459.5 kB / 1.282 GB, free: 7.785 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.002482/1.092, allocations: 2.119 MB / 1.284 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/1.093, allocations: 406.4 kB / 1.284 GB, free: 5.125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/1.093, allocations: 224.6 kB / 1.284 GB, free: 4.902 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/1.094, allocations: 396.3 kB / 1.285 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/1.095, allocations: 291.8 kB / 1.285 GB, free: 4.145 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/1.095, allocations: 0 / 1.285 GB, free: 4.145 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001828/1.097, allocations: 0.6912 MB / 1.286 GB, free: 3.445 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.097, allocations: 55.41 kB / 1.286 GB, free: 3.379 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/1.097, allocations: 494 kB / 1.286 GB, free: 2.883 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.097, allocations: 37.7 kB / 1.286 GB, free: 2.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/1.098, allocations: 260.1 kB / 1.287 GB, free: 2.582 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.098, allocations: 118.3 kB / 1.287 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/1.098, allocations: 98.03 kB / 1.287 GB, free: 2.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.098, allocations: 362.8 kB / 1.287 GB, free: 2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/1.099, allocations: 192.8 kB / 1.287 GB, free: 1.812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/1.099, allocations: 328 kB / 1.288 GB, free: 1.453 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.1, allocations: 0.5377 MB / 1.288 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.1, allocations: 0 / 1.288 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001338/1.102, allocations: 0.6595 MB / 1.289 GB, free: 188 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/1.102, allocations: 69.83 kB / 1.289 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.102, allocations: 4 kB / 1.289 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.102, allocations: 4.375 kB / 1.289 GB, free: 100 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.102, allocations: 99.88 kB / 1.289 GB, free: 0 / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/1.102, allocations: 8.047 kB / 1.289 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/1.103, allocations: 83.33 kB / 1.289 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/1.103, allocations: 20 kB / 1.289 GB, free: 15.89 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.0002454/1.103, allocations: 189.7 kB / 1.289 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/1.103, allocations: 59.33 kB / 1.289 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.104, allocations: 0.5343 MB / 1.29 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.104, allocations: 4 kB / 1.29 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.104, allocations: 0 / 1.29 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.104, allocations: 7.984 kB / 1.29 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.107, allocations: 1.354 MB / 1.291 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.107, allocations: 7.938 kB / 1.291 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/1.107, allocations: 71.89 kB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.107, allocations: 8 kB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.107, allocations: 8 kB / 1.291 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/1.107, allocations: 15.92 kB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.107, allocations: 4 kB / 1.291 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.109, allocations: 0.9368 MB / 1.292 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.109, allocations: 176.3 kB / 1.292 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/1.109, allocations: 12 kB / 1.292 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/1.11, allocations: 35.95 kB / 1.292 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.11, allocations: 51.89 kB / 1.292 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/1.11, allocations: 16 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004038/1.11, allocations: 350.8 kB / 1.293 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.11, allocations: 0 / 1.293 GB, free: 11.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005773/1.111, allocations: 143.8 kB / 1.293 GB, free: 11.73 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.0004355/1.111, allocations: 212.8 kB / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.113, allocations: 0.5808 MB / 1.294 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.113, allocations: 11.83 kB / 1.294 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/1.113, allocations: 260.2 kB / 1.294 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.115, allocations: 287.1 kB / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.116, allocations: 1.066 MB / 1.295 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.117, allocations: 0.8665 MB / 1.296 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.117, allocations: 47.44 kB / 1.296 GB, free: 8.293 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/1.117, allocations: 0 / 1.296 GB, free: 8.293 MB / 1.029 GB Notification: Performance of Templates: time 0.01387/1.131, allocations: 9.072 MB / 1.305 GB, free: 15.32 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