Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001636/0.001636, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.00174/0.00174, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 482.2 MB / 0.7548 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 72.55 kB / 0.9238 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.8619, allocations: 162.2 MB / 1.082 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2325/1.094, allocations: 179.4 MB / 1.257 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006727/1.101, allocations: 4.431 MB / 1.262 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007128/1.102, allocations: 19.88 kB / 1.262 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/1.103, allocations: 202.7 kB / 1.262 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/1.105, allocations: 0.7039 MB / 1.263 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/1.108, allocations: 1.413 MB / 1.264 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001692/1.11, allocations: 1.258 MB / 1.265 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/1.111, allocations: 429.3 kB / 1.266 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/1.112, allocations: 0.7901 MB / 1.266 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/1.113, allocations: 410.4 kB / 1.267 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/1.113, allocations: 51.94 kB / 1.267 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/1.116, allocations: 1.593 MB / 1.268 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/1.116, allocations: 195.4 kB / 1.269 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/1.117, allocations: 298.6 kB / 1.269 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/1.118, allocations: 0.9045 MB / 1.27 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.118, allocations: 4 kB / 1.27 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/1.118, allocations: 3.938 kB / 1.27 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.118, allocations: 0 / 1.27 GB, free: 14.69 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001838/1.12, allocations: 1.023 MB / 1.271 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/1.12, allocations: 16.03 kB / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.122, allocations: 286.9 kB / 1.271 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/1.123, allocations: 441.4 kB / 1.271 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.123, allocations: 32.98 kB / 1.271 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/1.123, allocations: 44 kB / 1.272 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.124, allocations: 0.5507 MB / 1.272 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.124, allocations: 0 / 1.272 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/1.124, allocations: 16 kB / 1.272 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.124, allocations: 11.94 kB / 1.272 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.125, allocations: 463.5 kB / 1.273 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/1.128, allocations: 2.112 MB / 1.275 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.129, allocations: 414.4 kB / 1.275 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.129, allocations: 229.2 kB / 1.275 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/1.13, allocations: 392.3 kB / 1.276 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006671/1.131, allocations: 310.7 kB / 1.276 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/1.131, allocations: 0 / 1.276 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001889/1.133, allocations: 0.69 MB / 1.277 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/1.133, allocations: 55.41 kB / 1.277 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/1.133, allocations: 498 kB / 1.277 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/1.134, allocations: 33.7 kB / 1.277 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/1.134, allocations: 264.1 kB / 1.277 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.134, allocations: 122.3 kB / 1.277 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.134, allocations: 94.03 kB / 1.278 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.134, allocations: 362.8 kB / 1.278 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/1.135, allocations: 196.8 kB / 1.278 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/1.135, allocations: 320 kB / 1.278 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.136, allocations: 0.5372 MB / 1.279 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/1.136, allocations: 0 / 1.279 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00134/1.138, allocations: 0.6597 MB / 1.28 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/1.138, allocations: 67.39 kB / 1.28 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.138, allocations: 7.938 kB / 1.28 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.138, allocations: 4 kB / 1.28 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/1.138, allocations: 95.88 kB / 1.28 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.138, allocations: 7.938 kB / 1.28 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/1.139, allocations: 91.41 kB / 1.28 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/1.139, allocations: 20 kB / 1.28 GB, free: 3.789 MB / 0.9981 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.0002639/1.139, allocations: 192.4 kB / 1.28 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/1.139, allocations: 55.34 kB / 1.28 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/1.141, allocations: 0.5333 MB / 1.281 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.141, allocations: 4 kB / 1.281 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.141, allocations: 4.062 kB / 1.281 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.141, allocations: 3.984 kB / 1.281 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.143, allocations: 1.346 MB / 1.282 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.143, allocations: 7.938 kB / 1.282 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/1.144, allocations: 76.31 kB / 1.282 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.144, allocations: 12 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/1.144, allocations: 8 kB / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.144, allocations: 11.94 kB / 1.282 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.144, allocations: 4 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.145, allocations: 0.9365 MB / 1.283 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/1.146, allocations: 176.3 kB / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/1.146, allocations: 11.98 kB / 1.283 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/1.146, allocations: 47.86 kB / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.146, allocations: 51.83 kB / 1.283 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.147, allocations: 16 kB / 1.283 GB, free: 108 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004648/1.147, allocations: 346.8 kB / 1.284 GB, free: 15.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.147, allocations: 0 / 1.284 GB, free: 15.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005982/1.148, allocations: 147.8 kB / 1.284 GB, free: 15.62 MB / 1.014 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.0004784/1.148, allocations: 203.4 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001288/1.149, allocations: 0.5964 MB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.149, allocations: 0 / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/1.15, allocations: 267.6 kB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.151, allocations: 284.3 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/1.153, allocations: 1.238 MB / 1.286 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/1.154, allocations: 0.8703 MB / 1.287 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.154, allocations: 43.44 kB / 1.287 GB, free: 12.02 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.154, allocations: 0 / 1.287 GB, free: 12.02 MB / 1.014 GB Notification: Performance of Templates: time 0.01427/1.169, allocations: 9.021 MB / 1.296 GB, free: 3.086 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches