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.001671/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.7 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 61.31 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3563, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2037/0.56, allocations: 181.8 MB / 1.246 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7003/1.26, allocations: 4.449 MB / 1.25 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/1.261, allocations: 19.34 kB / 1.25 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/1.262, allocations: 251.9 kB / 1.25 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/1.264, allocations: 0.7536 MB / 1.251 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/1.268, allocations: 1.505 MB / 1.253 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001711/1.269, allocations: 1.256 MB / 1.254 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/1.27, allocations: 450.3 kB / 1.254 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/1.271, allocations: 0.5687 MB / 1.255 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/1.272, allocations: 412 kB / 1.255 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/1.272, allocations: 45.22 kB / 1.255 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/1.275, allocations: 1.537 MB / 1.257 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/1.276, allocations: 189 kB / 1.257 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004476/1.276, allocations: 309.8 kB / 1.257 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/1.279, allocations: 1.288 MB / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.279, allocations: 0 / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.279, allocations: 0 / 1.258 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.279, allocations: 1.031 kB / 1.258 GB, free: 5.629 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.002057/1.281, allocations: 1.025 MB / 1.259 GB, free: 20.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.281, allocations: 10.03 kB / 1.259 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/1.283, allocations: 279 kB / 1.26 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/1.284, allocations: 447 kB / 1.26 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/1.284, allocations: 34.64 kB / 1.26 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/1.284, allocations: 44.81 kB / 1.26 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.285, allocations: 0.5496 MB / 1.261 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.285, allocations: 3.422 kB / 1.261 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/1.285, allocations: 18.83 kB / 1.261 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.285, allocations: 11.47 kB / 1.261 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/1.286, allocations: 458.6 kB / 1.261 GB, free: 20.57 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.002554/1.289, allocations: 2.13 MB / 1.263 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/1.29, allocations: 411 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/1.29, allocations: 231.9 kB / 1.264 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007211/1.291, allocations: 396.5 kB / 1.264 GB, free: 18.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006467/1.292, allocations: 292.7 kB / 1.265 GB, free: 18.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.956e-06/1.292, allocations: 0.9062 kB / 1.265 GB, free: 18.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001786/1.293, allocations: 0.6917 MB / 1.265 GB, free: 18.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/1.293, allocations: 57.83 kB / 1.265 GB, free: 18.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/1.294, allocations: 498.3 kB / 1.266 GB, free: 18.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.294, allocations: 36.11 kB / 1.266 GB, free: 18.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.294, allocations: 261.6 kB / 1.266 GB, free: 18.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/1.294, allocations: 121.2 kB / 1.266 GB, free: 18.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/1.294, allocations: 93.88 kB / 1.266 GB, free: 18.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.295, allocations: 370.4 kB / 1.267 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/1.295, allocations: 197.6 kB / 1.267 GB, free: 18.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/1.296, allocations: 318.7 kB / 1.267 GB, free: 17.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/1.297, allocations: 0.5413 MB / 1.268 GB, free: 17.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.297, allocations: 0 / 1.268 GB, free: 17.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001325/1.298, allocations: 0.6478 MB / 1.268 GB, free: 17.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.298, allocations: 66.81 kB / 1.268 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.298, allocations: 3.109 kB / 1.268 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.298, allocations: 5.969 kB / 1.268 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.299, allocations: 96.89 kB / 1.268 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.299, allocations: 9.719 kB / 1.268 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/1.299, allocations: 75.95 kB / 1.269 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/1.299, allocations: 22.86 kB / 1.269 GB, free: 17.54 MB / 1.014 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.0002489/1.3, allocations: 204.5 kB / 1.269 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/1.3, allocations: 57.75 kB / 1.269 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.301, allocations: 0.5265 MB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.301, allocations: 5.438 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.301, allocations: 0.7188 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.301, allocations: 2.5 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/1.303, allocations: 1.352 MB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.303, allocations: 4.25 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/1.304, allocations: 76.17 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.304, allocations: 9.375 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.304, allocations: 11.67 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.304, allocations: 12.34 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.304, allocations: 4.328 kB / 1.271 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.306, allocations: 0.9427 MB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.306, allocations: 174.1 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/1.306, allocations: 12.31 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/1.307, allocations: 32.7 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.307, allocations: 56.02 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/1.307, allocations: 17.02 kB / 1.272 GB, free: 16.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000535/1.307, allocations: 343.6 kB / 1.272 GB, free: 16.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.307, allocations: 2.406 kB / 1.272 GB, free: 16.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007367/1.308, allocations: 153.3 kB / 1.272 GB, free: 16.39 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.0005754/1.309, allocations: 194.4 kB / 1.273 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.31, allocations: 0.599 MB / 1.273 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.31, allocations: 0 / 1.273 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/1.311, allocations: 296.1 kB / 1.273 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.312, allocations: 291.8 kB / 1.274 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/1.315, allocations: 1.053 MB / 1.275 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/1.316, allocations: 0.8663 MB / 1.276 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005834/1.316, allocations: 126.5 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.316, allocations: 44.5 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.316, allocations: 0 / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of Templates: time 0.02411/1.34, allocations: 10.77 MB / 1.286 GB, free: 14.41 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/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