Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.001291/0.001291, allocations: 107.1 kB / 15.99 MB, free: 6.352 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.001239/0.00124, allocations: 199.7 kB / 16.91 MB, free: 6.184 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.688/2.688, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.86 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3418, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7247/1.067, allocations: 179.4 MB / 1.239 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007379/1.074, allocations: 4.417 MB / 1.244 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008616/1.075, allocations: 15.88 kB / 1.244 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007978/1.076, allocations: 206.8 kB / 1.244 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/1.078, allocations: 0.7117 MB / 1.245 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003875/1.082, allocations: 1.41 MB / 1.246 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001978/1.084, allocations: 1.266 MB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/1.085, allocations: 425.3 kB / 1.248 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/1.086, allocations: 0.5838 MB / 1.248 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/1.087, allocations: 426.3 kB / 1.249 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/1.087, allocations: 44 kB / 1.249 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/1.09, allocations: 1.601 MB / 1.25 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/1.09, allocations: 195.4 kB / 1.25 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000373/1.09, allocations: 306.5 kB / 1.251 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/1.092, allocations: 0.9045 MB / 1.252 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.092, allocations: 7.984 kB / 1.252 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/1.092, allocations: 0 / 1.252 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.926e-06/1.092, allocations: 0 / 1.252 GB, free: 9.215 MB / 0.9669 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.001914/1.094, allocations: 1.014 MB / 1.253 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.094, allocations: 16.03 kB / 1.253 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/1.096, allocations: 279 kB / 1.253 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/1.097, allocations: 453.4 kB / 1.253 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/1.097, allocations: 29 kB / 1.253 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/1.097, allocations: 44 kB / 1.253 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.098, allocations: 0.5429 MB / 1.254 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.098, allocations: 4 kB / 1.254 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/1.098, allocations: 16 kB / 1.254 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.098, allocations: 11.94 kB / 1.254 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.099, allocations: 463.5 kB / 1.254 GB, free: 6.238 MB / 0.9669 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.002908/1.102, allocations: 2.124 MB / 1.256 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.103, allocations: 406.4 kB / 1.257 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/1.104, allocations: 229.3 kB / 1.257 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007788/1.105, allocations: 400.3 kB / 1.257 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/1.105, allocations: 298.8 kB / 1.258 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 3.035e-06/1.105, allocations: 0 / 1.258 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.002002/1.107, allocations: 0.6858 MB / 1.258 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.107, allocations: 59.39 kB / 1.258 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/1.108, allocations: 494.1 kB / 1.259 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/1.108, allocations: 37.7 kB / 1.259 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/1.108, allocations: 264 kB / 1.259 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.109, allocations: 118.3 kB / 1.259 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.109, allocations: 98.02 kB / 1.259 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.109, allocations: 362.8 kB / 1.26 GB, free: 444 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/1.11, allocations: 192.8 kB / 1.26 GB, free: 248 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/1.11, allocations: 316.1 kB / 1.26 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.111, allocations: 0.5463 MB / 1.261 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.111, allocations: 0 / 1.261 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001486/1.113, allocations: 0.6599 MB / 1.261 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/1.113, allocations: 59.41 kB / 1.261 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.113, allocations: 4 kB / 1.261 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/1.113, allocations: 7.984 kB / 1.261 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/1.113, allocations: 91.89 kB / 1.261 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.113, allocations: 11.92 kB / 1.262 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/1.114, allocations: 91.36 kB / 1.262 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/1.114, allocations: 23.98 kB / 1.262 GB, free: 14.33 MB / 0.9825 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.0003338/1.115, allocations: 183.9 kB / 1.262 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/1.115, allocations: 63.27 kB / 1.262 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/1.116, allocations: 0.5342 MB / 1.262 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.116, allocations: 11.92 kB / 1.262 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.116, allocations: 0 / 1.262 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.116, allocations: 0 / 1.262 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/1.119, allocations: 1.344 MB / 1.264 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.119, allocations: 4 kB / 1.264 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/1.119, allocations: 76.27 kB / 1.264 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/1.119, allocations: 12 kB / 1.264 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/1.119, allocations: 8 kB / 1.264 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.119, allocations: 11.98 kB / 1.264 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.119, allocations: 7.938 kB / 1.264 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.121, allocations: 0.9288 MB / 1.265 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/1.121, allocations: 180.3 kB / 1.265 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/1.121, allocations: 12 kB / 1.265 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/1.122, allocations: 39.95 kB / 1.265 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.122, allocations: 55.81 kB / 1.265 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/1.122, allocations: 22.5 kB / 1.265 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004842/1.123, allocations: 346.8 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.123, allocations: 0 / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006434/1.123, allocations: 147.8 kB / 1.265 GB, free: 10.17 MB / 0.9825 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.0005147/1.124, allocations: 207.8 kB / 1.266 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00134/1.125, allocations: 0.5983 MB / 1.266 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.125, allocations: 0.75 kB / 1.266 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/1.126, allocations: 263.6 kB / 1.267 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.127, allocations: 292 kB / 1.267 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/1.129, allocations: 1.239 MB / 1.268 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/1.13, allocations: 0.8587 MB / 1.269 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.13, allocations: 55.42 kB / 1.269 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/1.13, allocations: 0 / 1.269 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.01514/1.145, allocations: 9.014 MB / 1.278 GB, free: 13.64 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches