Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002577/0.002577, allocations: 211.1 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.409/3.409, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 69.28 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4483, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2311/0.6794, allocations: 160.7 MB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008985/0.6884, allocations: 4.175 MB / 1.488 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.6893, allocations: 27.75 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.6903, allocations: 258.1 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.6936, allocations: 0.762 MB / 1.489 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.6988, allocations: 1.554 MB / 1.491 GB, free: 8.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.7018, allocations: 1.262 MB / 1.492 GB, free: 7.676 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.7027, allocations: 365.6 kB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.705, allocations: 0.8292 MB / 1.493 GB, free: 6.477 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.7058, allocations: 422.3 kB / 1.493 GB, free: 6.062 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.7059, allocations: 48 kB / 1.493 GB, free: 6.016 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.7092, allocations: 1.27 MB / 1.495 GB, free: 4.742 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.7095, allocations: 195.4 kB / 1.495 GB, free: 4.551 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.7099, allocations: 250.9 kB / 1.495 GB, free: 4.305 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.713, allocations: 1.25 MB / 1.496 GB, free: 3.051 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.713, allocations: 0 / 1.496 GB, free: 3.051 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.713, allocations: 0 / 1.496 GB, free: 3.051 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.713, allocations: 0 / 1.496 GB, free: 3.051 MB / 1.186 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.00212/0.7151, allocations: 0.9682 MB / 1.497 GB, free: 2.039 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7152, allocations: 16.02 kB / 1.497 GB, free: 2.023 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.7174, allocations: 287.2 kB / 1.498 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7185, allocations: 398.7 kB / 1.498 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.7186, allocations: 33 kB / 1.498 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.7189, allocations: 47.98 kB / 1.498 GB, free: 1.246 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.7201, allocations: 0.5507 MB / 1.499 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7201, allocations: 3.938 kB / 1.499 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.7202, allocations: 23.98 kB / 1.499 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.7202, allocations: 15.94 kB / 1.499 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.7213, allocations: 459.5 kB / 1.499 GB, free: 176 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.7247, allocations: 1.675 MB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.7258, allocations: 382.5 kB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007092/0.7266, allocations: 217.3 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.7273, allocations: 95.91 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007929/0.7281, allocations: 310.9 kB / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.635e-06/0.7281, allocations: 0 / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.002276/0.7304, allocations: 0.6723 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.7304, allocations: 59.41 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.7309, allocations: 389.9 kB / 1.503 GB, free: 12.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.731, allocations: 33.7 kB / 1.503 GB, free: 12.25 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.7313, allocations: 280.4 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.7314, allocations: 142.8 kB / 1.503 GB, free: 11.83 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.7317, allocations: 86.12 kB / 1.503 GB, free: 11.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.7319, allocations: 358.8 kB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.7326, allocations: 248.2 kB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.7334, allocations: 499.6 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7346, allocations: 0.5493 MB / 1.505 GB, free: 9.949 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7346, allocations: 4 kB / 1.505 GB, free: 9.945 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001538/0.7361, allocations: 0.6948 MB / 1.506 GB, free: 9.219 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.7363, allocations: 63.78 kB / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7363, allocations: 8 kB / 1.506 GB, free: 9.137 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7363, allocations: 4 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.7369, allocations: 99.81 kB / 1.506 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.7369, allocations: 7.984 kB / 1.506 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.7374, allocations: 63.72 kB / 1.506 GB, free: 8.965 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.7375, allocations: 24 kB / 1.506 GB, free: 8.941 MB / 1.201 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.0003996/0.7379, allocations: 193.7 kB / 1.506 GB, free: 8.742 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.738, allocations: 51.61 kB / 1.506 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7393, allocations: 0.5338 MB / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7393, allocations: 0 / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7393, allocations: 4 kB / 1.507 GB, free: 8.145 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7393, allocations: 7.984 kB / 1.507 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.742, allocations: 1.221 MB / 1.508 GB, free: 6.836 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.742, allocations: 4 kB / 1.508 GB, free: 6.832 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.7425, allocations: 75.83 kB / 1.508 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.7425, allocations: 4 kB / 1.508 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.7425, allocations: 24.3 kB / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7425, allocations: 4 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7425, allocations: 8 kB / 1.508 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7446, allocations: 0.9213 MB / 1.509 GB, free: 5.734 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.7448, allocations: 91.55 kB / 1.509 GB, free: 5.645 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.7449, allocations: 15.94 kB / 1.509 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.7453, allocations: 39.95 kB / 1.509 GB, free: 5.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7455, allocations: 39.94 kB / 1.509 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.7455, allocations: 19.94 kB / 1.509 GB, free: 5.531 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003591/0.7459, allocations: 263.1 kB / 1.509 GB, free: 5.277 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7459, allocations: 64 / 1.509 GB, free: 5.277 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006754/0.7466, allocations: 171.7 kB / 1.509 GB, free: 5.109 MB / 1.201 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.0003518/0.7469, allocations: 183 kB / 1.51 GB, free: 4.922 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.7483, allocations: 0.6152 MB / 1.51 GB, free: 4.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7483, allocations: 4 kB / 1.51 GB, free: 4.266 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.749, allocations: 275.1 kB / 1.51 GB, free: 4 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7502, allocations: 206.7 kB / 1.511 GB, free: 3.805 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.7526, allocations: 1.049 MB / 1.512 GB, free: 2.684 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.7529, allocations: 270 kB / 1.512 GB, free: 2.395 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.7534, allocations: 108.1 kB / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.7535, allocations: 35.44 kB / 1.512 GB, free: 2.254 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/0.7535, allocations: 4 kB / 1.512 GB, free: 2.25 MB / 1.201 GB Notification: Performance of Templates: time 0.02045/0.774, allocations: 10 MB / 1.522 GB, free: 8.465 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.473374336987035]