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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 225.6 MB / 249.4 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 496.1 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379/1.381, allocations: 173.7 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2608/1.642, allocations: 182.7 MB / 1.484 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01064/1.652, allocations: 4.507 MB / 1.488 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/1.654, allocations: 19.88 kB / 1.488 GB, free: 8.758 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/1.655, allocations: 246.8 kB / 1.489 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/1.659, allocations: 0.7926 MB / 1.489 GB, free: 7.926 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/1.665, allocations: 1.552 MB / 1.491 GB, free: 6.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002794/1.668, allocations: 1.252 MB / 1.492 GB, free: 6.066 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/1.669, allocations: 359.9 kB / 1.492 GB, free: 5.816 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/1.672, allocations: 0.8018 MB / 1.493 GB, free: 5.336 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/1.673, allocations: 429.9 kB / 1.494 GB, free: 5.07 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/1.673, allocations: 46.78 kB / 1.494 GB, free: 5.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/1.678, allocations: 1.634 MB / 1.495 GB, free: 4.121 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/1.678, allocations: 186.8 kB / 1.495 GB, free: 3.992 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000904/1.679, allocations: 308.2 kB / 1.496 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004507/1.684, allocations: 1.306 MB / 1.497 GB, free: 3.012 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.684, allocations: 9.234 kB / 1.497 GB, free: 3.004 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.433e-06/1.684, allocations: 0 / 1.497 GB, free: 3.004 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.694e-05/1.684, allocations: 0 / 1.497 GB, free: 3.004 MB / 1.17 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.003516/1.687, allocations: 1.037 MB / 1.498 GB, free: 2.141 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.854e-05/1.687, allocations: 9.75 kB / 1.498 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/1.69, allocations: 286.2 kB / 1.498 GB, free: 2.012 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.692, allocations: 475.5 kB / 1.499 GB, free: 1.617 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/1.692, allocations: 34.41 kB / 1.499 GB, free: 1.602 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/1.692, allocations: 45.5 kB / 1.499 GB, free: 1.586 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.693, allocations: 0.5467 MB / 1.499 GB, free: 1.223 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.693, allocations: 1.594 kB / 1.499 GB, free: 1.223 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/1.693, allocations: 19.56 kB / 1.499 GB, free: 1.207 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.693, allocations: 14.28 kB / 1.499 GB, free: 1.203 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/1.695, allocations: 460.3 kB / 1.5 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/1.699, allocations: 2.121 MB / 1.502 GB, free: 15.08 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.7, allocations: 396.1 kB / 1.502 GB, free: 14.68 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/1.701, allocations: 212.6 kB / 1.502 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/1.701, allocations: 400.3 kB / 1.503 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/1.702, allocations: 290.9 kB / 1.503 GB, free: 13.71 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.806e-06/1.702, allocations: 0 / 1.503 GB, free: 13.71 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.00208/1.704, allocations: 0.6866 MB / 1.504 GB, free: 13.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/1.704, allocations: 67.16 kB / 1.504 GB, free: 12.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/1.705, allocations: 494 kB / 1.504 GB, free: 12.45 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/1.705, allocations: 37.7 kB / 1.504 GB, free: 12.4 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/1.705, allocations: 264.4 kB / 1.505 GB, free: 12.14 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.706, allocations: 127 kB / 1.505 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/1.706, allocations: 94.08 kB / 1.505 GB, free: 11.92 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.706, allocations: 362.8 kB / 1.505 GB, free: 11.55 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/1.707, allocations: 200.8 kB / 1.505 GB, free: 11.35 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/1.707, allocations: 308.1 kB / 1.506 GB, free: 11.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.708, allocations: 0.545 MB / 1.506 GB, free: 10.42 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.708, allocations: 0 / 1.506 GB, free: 10.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001411/1.71, allocations: 0.6638 MB / 1.507 GB, free: 9.734 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/1.71, allocations: 59.41 kB / 1.507 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.71, allocations: 4.375 kB / 1.507 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.71, allocations: 11.94 kB / 1.507 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/1.71, allocations: 95.88 kB / 1.507 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/1.71, allocations: 11.92 kB / 1.507 GB, free: 9.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/1.711, allocations: 75.58 kB / 1.507 GB, free: 9.469 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/1.711, allocations: 23.98 kB / 1.507 GB, free: 9.445 MB / 1.186 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.0002852/1.711, allocations: 197.6 kB / 1.507 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/1.711, allocations: 55.67 kB / 1.507 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.713, allocations: 0.5411 MB / 1.508 GB, free: 8.633 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.713, allocations: 4 kB / 1.508 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.713, allocations: 0 / 1.508 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.713, allocations: 4 kB / 1.508 GB, free: 8.625 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/1.716, allocations: 1.359 MB / 1.509 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.716, allocations: 7.938 kB / 1.509 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/1.716, allocations: 67.89 kB / 1.509 GB, free: 7.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/1.716, allocations: 4 kB / 1.509 GB, free: 7.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/1.716, allocations: 15.98 kB / 1.509 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/1.716, allocations: 4 kB / 1.509 GB, free: 7.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.716, allocations: 7.938 kB / 1.509 GB, free: 7.062 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/1.718, allocations: 0.9377 MB / 1.51 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/1.718, allocations: 180.5 kB / 1.51 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.719, allocations: 12 kB / 1.51 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.719, allocations: 35.95 kB / 1.51 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.719, allocations: 51.89 kB / 1.51 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.719, allocations: 19.98 kB / 1.511 GB, free: 5.75 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005675/1.72, allocations: 342.8 kB / 1.511 GB, free: 5.418 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.72, allocations: 0 / 1.511 GB, free: 5.418 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006976/1.721, allocations: 147.9 kB / 1.511 GB, free: 5.273 MB / 1.186 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.0006034/1.721, allocations: 199.1 kB / 1.511 GB, free: 5.074 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.722, allocations: 0.5698 MB / 1.512 GB, free: 4.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.722, allocations: 0 / 1.512 GB, free: 4.48 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/1.723, allocations: 279.6 kB / 1.512 GB, free: 4.207 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.725, allocations: 294 kB / 1.512 GB, free: 3.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.727, allocations: 1.067 MB / 1.513 GB, free: 2.789 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/1.728, allocations: 0.8704 MB / 1.514 GB, free: 1.891 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000509/1.728, allocations: 128.7 kB / 1.514 GB, free: 1.766 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.728, allocations: 39.44 kB / 1.514 GB, free: 1.727 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/1.728, allocations: 0 / 1.514 GB, free: 1.727 MB / 1.186 GB Notification: Performance of Templates: time 0.02291/1.751, allocations: 11.04 MB / 1.525 GB, free: 6.84 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.131646105088294]