Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001733/0.001732, 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.00167/0.001669, allocations: 191.9 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6697, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2314/0.9012, allocations: 181.8 MB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007703/0.9089, allocations: 4.454 MB / 1.199 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.9099, allocations: 19.88 kB / 1.199 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/0.9109, allocations: 254.1 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.9136, allocations: 0.7541 MB / 1.2 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/0.9185, allocations: 1.516 MB / 1.202 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002172/0.9207, allocations: 1.254 MB / 1.203 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.9218, allocations: 449.3 kB / 1.203 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.9234, allocations: 0.5643 MB / 1.204 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.9244, allocations: 410.3 kB / 1.204 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.9246, allocations: 44 kB / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.9284, allocations: 1.547 MB / 1.206 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.9288, allocations: 179.5 kB / 1.206 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.9296, allocations: 314.5 kB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.9335, allocations: 1.29 MB / 1.208 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.9335, allocations: 4 kB / 1.208 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9335, allocations: 0 / 1.208 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.882e-05/0.9335, allocations: 0 / 1.208 GB, free: 14.96 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.002738/0.9363, allocations: 1.017 MB / 1.209 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9363, allocations: 8.031 kB / 1.209 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.9385, allocations: 282.9 kB / 1.209 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.9395, allocations: 449.3 kB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.9396, allocations: 29 kB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.9397, allocations: 48 kB / 1.209 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.9409, allocations: 0.5468 MB / 1.21 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.941, allocations: 0 / 1.21 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.941, allocations: 24 kB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.941, allocations: 15.94 kB / 1.21 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.9422, allocations: 455.5 kB / 1.21 GB, free: 11.97 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.003302/0.9455, allocations: 2.123 MB / 1.212 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.9466, allocations: 418.3 kB / 1.213 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.9471, allocations: 232.6 kB / 1.213 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.9479, allocations: 396.3 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/0.9486, allocations: 286.8 kB / 1.214 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.534e-06/0.9486, allocations: 4 kB / 1.214 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001994/0.9506, allocations: 0.6889 MB / 1.214 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.9507, allocations: 59.39 kB / 1.214 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.9513, allocations: 498.1 kB / 1.215 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.9514, allocations: 37.7 kB / 1.215 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.9517, allocations: 260 kB / 1.215 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9518, allocations: 118.3 kB / 1.215 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.952, allocations: 94.03 kB / 1.215 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.9522, allocations: 370.8 kB / 1.216 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.9528, allocations: 192.8 kB / 1.216 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.9534, allocations: 316 kB / 1.216 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.9546, allocations: 0.5491 MB / 1.217 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.9547, allocations: 7.984 kB / 1.217 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001523/0.9562, allocations: 0.652 MB / 1.217 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.9563, allocations: 59.41 kB / 1.217 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9563, allocations: 0 / 1.217 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.9563, allocations: 8 kB / 1.217 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.9568, allocations: 100.2 kB / 1.218 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.9568, allocations: 11.98 kB / 1.218 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.9575, allocations: 71.48 kB / 1.218 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.9576, allocations: 20 kB / 1.218 GB, free: 4.074 MB / 0.9669 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.000342/0.9579, allocations: 198.7 kB / 1.218 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9581, allocations: 55.34 kB / 1.218 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.9595, allocations: 0.5333 MB / 1.218 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.9596, allocations: 4 kB / 1.218 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9596, allocations: 3.938 kB / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.9596, allocations: 3.938 kB / 1.218 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.9623, allocations: 1.353 MB / 1.22 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.9624, allocations: 7.938 kB / 1.22 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.9628, allocations: 75.89 kB / 1.22 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.9628, allocations: 7.984 kB / 1.22 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.9629, allocations: 12 kB / 1.22 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.9629, allocations: 7.938 kB / 1.22 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9629, allocations: 4 kB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.965, allocations: 0.9256 MB / 1.221 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.9653, allocations: 176.3 kB / 1.221 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.9654, allocations: 19.98 kB / 1.221 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.9659, allocations: 27.97 kB / 1.221 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9661, allocations: 55.88 kB / 1.221 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.9661, allocations: 16 kB / 1.221 GB, free: 408 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005199/0.9667, allocations: 346.8 kB / 1.221 GB, free: 64 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9667, allocations: 0 / 1.221 GB, free: 64 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007598/0.9674, allocations: 155.8 kB / 1.221 GB, free: 15.91 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.0006554/0.9681, allocations: 188.1 kB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.9696, allocations: 0.5906 MB / 1.222 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.9696, allocations: 4.25 kB / 1.222 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.9704, allocations: 291.4 kB / 1.223 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.9719, allocations: 294.6 kB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.9744, allocations: 1.055 MB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.975, allocations: 0.8704 MB / 1.225 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006206/0.9757, allocations: 124.7 kB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.9758, allocations: 47.42 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.9758, allocations: 0 / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.02464/1, allocations: 10.78 MB / 1.235 GB, free: 1.738 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches