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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001096/0.001096, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009885/0.009885, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003697, allocations: 9.875 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2088/0.5633, allocations: 177.2 MB / 1.232 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006449/0.5698, allocations: 4.431 MB / 1.236 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.5705, allocations: 15.88 kB / 1.236 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.5712, allocations: 190.7 kB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.5732, allocations: 0.7117 MB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.5772, allocations: 1.398 MB / 1.238 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.5794, allocations: 1.691 MB / 1.24 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.58, allocations: 373.7 kB / 1.24 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.5811, allocations: 0.5214 MB / 1.241 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.5817, allocations: 410.2 kB / 1.241 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.5818, allocations: 24 kB / 1.241 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.5851, allocations: 1.808 MB / 1.243 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.5854, allocations: 167.5 kB / 1.243 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.5858, allocations: 304.2 kB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.5885, allocations: 1.386 MB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5885, allocations: 0 / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5885, allocations: 0 / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5885, allocations: 4 kB / 1.245 GB, free: 6.23 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.001911/0.5904, allocations: 0.9254 MB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.5905, allocations: 12.03 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.5926, allocations: 286.9 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.5935, allocations: 445.4 kB / 1.246 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.5935, allocations: 37 kB / 1.246 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/0.5936, allocations: 40 kB / 1.246 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5947, allocations: 0.5625 MB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5948, allocations: 0 / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.5948, allocations: 23.92 kB / 1.247 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.5948, allocations: 12 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.596, allocations: 491.6 kB / 1.248 GB, free: 3.289 MB / 0.9981 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.002621/0.5986, allocations: 2.132 MB / 1.25 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.5996, allocations: 440.4 kB / 1.25 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.6002, allocations: 249.9 kB / 1.25 GB, free: 348 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6761/1.276, allocations: 404 kB / 1.251 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/1.277, allocations: 306.3 kB / 1.251 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.798e-06/1.277, allocations: 0 / 1.251 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.002253/1.28, allocations: 0.7346 MB / 1.252 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.28, allocations: 58.75 kB / 1.252 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/1.28, allocations: 497.3 kB / 1.252 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/1.28, allocations: 38.48 kB / 1.252 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/1.281, allocations: 259 kB / 1.252 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.281, allocations: 126.5 kB / 1.253 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/1.281, allocations: 44.67 kB / 1.253 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.281, allocations: 362.5 kB / 1.253 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/1.282, allocations: 214.5 kB / 1.253 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/1.282, allocations: 332.5 kB / 1.254 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.283, allocations: 0.5756 MB / 1.254 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.283, allocations: 4.75 kB / 1.254 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001496/1.285, allocations: 0.6806 MB / 1.255 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/1.285, allocations: 66.02 kB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.285, allocations: 5.188 kB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.285, allocations: 5.438 kB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/1.285, allocations: 102.8 kB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.285, allocations: 10.58 kB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/1.286, allocations: 99.39 kB / 1.255 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/1.286, allocations: 18.19 kB / 1.255 GB, free: 11.89 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.0002286/1.286, allocations: 194.1 kB / 1.255 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/1.286, allocations: 56.12 kB / 1.255 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.288, allocations: 0.5643 MB / 1.256 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.288, allocations: 2.938 kB / 1.256 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.288, allocations: 4.312 kB / 1.256 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.288, allocations: 4.359 kB / 1.256 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/1.29, allocations: 1.387 MB / 1.257 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.29, allocations: 2.875 kB / 1.257 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/1.29, allocations: 88.34 kB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.29, allocations: 5.875 kB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.29, allocations: 14.84 kB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.29, allocations: 2.781 kB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.29, allocations: 9.812 kB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.292, allocations: 0.9792 MB / 1.258 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/1.292, allocations: 173 kB / 1.258 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/1.292, allocations: 14.44 kB / 1.258 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/1.293, allocations: 53.33 kB / 1.258 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.293, allocations: 49.98 kB / 1.259 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.293, allocations: 19.97 kB / 1.259 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004512/1.293, allocations: 345.4 kB / 1.259 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.293, allocations: 0 / 1.259 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006196/1.294, allocations: 147.2 kB / 1.259 GB, free: 10.71 MB / 0.9981 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.0005431/1.295, allocations: 194.1 kB / 1.259 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.296, allocations: 0.6115 MB / 1.26 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.296, allocations: 0 / 1.26 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006998/1.297, allocations: 309.4 kB / 1.26 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.298, allocations: 277.4 kB / 1.26 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.3, allocations: 1.263 MB / 1.262 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.301, allocations: 0.8753 MB / 1.262 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005426/1.301, allocations: 124.4 kB / 1.263 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.301, allocations: 40.8 kB / 1.263 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.301, allocations: 0 / 1.263 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of Templates: time 0.02551/1.327, allocations: 10.16 MB / 1.273 GB, free: 8.414 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches