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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001611/0.001611, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001818/0.001818, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.33 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2718, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.714/0.9858, allocations: 181.8 MB / 1.204 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.9917, allocations: 4.45 MB / 1.209 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.9922, allocations: 22.5 kB / 1.209 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.9929, allocations: 250.4 kB / 1.209 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.9946, allocations: 0.7576 MB / 1.21 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.9979, allocations: 1.518 MB / 1.211 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.9992, allocations: 1.258 MB / 1.212 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.9998, allocations: 449.1 kB / 1.213 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/1.001, allocations: 0.5737 MB / 1.213 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/1.001, allocations: 412.9 kB / 1.214 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/1.001, allocations: 44.66 kB / 1.214 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/1.004, allocations: 1.541 MB / 1.215 GB, free: 9.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/1.004, allocations: 187.8 kB / 1.215 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/1.004, allocations: 300.8 kB / 1.216 GB, free: 9.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/1.006, allocations: 1.306 MB / 1.217 GB, free: 8.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.006, allocations: 0 / 1.217 GB, free: 8.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.006, allocations: 0 / 1.217 GB, free: 8.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.006, allocations: 4 kB / 1.217 GB, free: 8.773 MB / 0.92 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.001679/1.008, allocations: 1.017 MB / 1.218 GB, free: 7.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/1.008, allocations: 9.469 kB / 1.218 GB, free: 7.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/1.01, allocations: 285 kB / 1.218 GB, free: 7.801 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/1.011, allocations: 468.1 kB / 1.219 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/1.011, allocations: 30.56 kB / 1.219 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/1.011, allocations: 49.84 kB / 1.219 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/1.012, allocations: 0.5536 MB / 1.219 GB, free: 7.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.012, allocations: 0 / 1.219 GB, free: 7.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/1.012, allocations: 17.28 kB / 1.219 GB, free: 6.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/1.012, allocations: 14.16 kB / 1.219 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.013, allocations: 461 kB / 1.22 GB, free: 6.773 MB / 0.92 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.002811/1.016, allocations: 2.114 MB / 1.222 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.017, allocations: 407.4 kB / 1.222 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/1.017, allocations: 224.5 kB / 1.222 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/1.018, allocations: 406.3 kB / 1.223 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/1.018, allocations: 292.8 kB / 1.223 GB, free: 3.961 MB / 0.92 GB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/1.018, allocations: 0 / 1.223 GB, free: 3.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=37): time 0.001839/1.02, allocations: 0.6891 MB / 1.224 GB, free: 3.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/1.02, allocations: 55.41 kB / 1.224 GB, free: 3.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/1.021, allocations: 498.1 kB / 1.224 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/1.021, allocations: 37.64 kB / 1.224 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.021, allocations: 268 kB / 1.225 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.021, allocations: 122.3 kB / 1.225 GB, free: 2.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.022, allocations: 94.03 kB / 1.225 GB, free: 2.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.022, allocations: 358.8 kB / 1.225 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/1.022, allocations: 196.8 kB / 1.225 GB, free: 1.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/1.023, allocations: 316.1 kB / 1.226 GB, free: 1.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.024, allocations: 0.5385 MB / 1.226 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.024, allocations: 0 / 1.226 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001303/1.025, allocations: 0.6561 MB / 1.227 GB, free: 16 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/1.025, allocations: 67.39 kB / 1.227 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.025, allocations: 7.938 kB / 1.227 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.025, allocations: 4 kB / 1.227 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/1.026, allocations: 103.5 kB / 1.227 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.026, allocations: 4 kB / 1.227 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/1.026, allocations: 71.48 kB / 1.227 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/1.026, allocations: 24.03 kB / 1.227 GB, free: 15.73 MB / 0.9356 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.0002294/1.027, allocations: 194.4 kB / 1.227 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/1.027, allocations: 59.28 kB / 1.227 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.028, allocations: 0.535 MB / 1.228 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.028, allocations: 4 kB / 1.228 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.028, allocations: 0 / 1.228 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.028, allocations: 3.984 kB / 1.228 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/1.03, allocations: 1.345 MB / 1.229 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.03, allocations: 4 kB / 1.229 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/1.031, allocations: 87.69 kB / 1.229 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/1.031, allocations: 8 kB / 1.229 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/1.031, allocations: 8 kB / 1.229 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.046e-06/1.031, allocations: 12.42 kB / 1.229 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.031, allocations: 8 kB / 1.229 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/1.032, allocations: 0.9365 MB / 1.23 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/1.033, allocations: 177.1 kB / 1.23 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/1.033, allocations: 8 kB / 1.23 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/1.033, allocations: 40.02 kB / 1.23 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.033, allocations: 47.89 kB / 1.23 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/1.033, allocations: 12 kB / 1.23 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004146/1.034, allocations: 350.8 kB / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.563e-06/1.034, allocations: 0 / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005824/1.034, allocations: 155.8 kB / 1.231 GB, free: 11.56 MB / 0.9356 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.0004583/1.035, allocations: 207 kB / 1.231 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.036, allocations: 0.5813 MB / 1.232 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.036, allocations: 0 / 1.232 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006624/1.037, allocations: 291.1 kB / 1.232 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.038, allocations: 283.4 kB / 1.232 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.04, allocations: 1.034 MB / 1.233 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/1.04, allocations: 0.8665 MB / 1.234 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004316/1.041, allocations: 128.7 kB / 1.234 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/1.041, allocations: 43.44 kB / 1.234 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/1.041, allocations: 0 / 1.234 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of Templates: time 0.01763/1.058, allocations: 10.78 MB / 1.245 GB, free: 13.42 MB / 0.9512 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 -s gbode -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