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.00162/0.00162, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001785/0.001785, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.903/2.903, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.002019/0.002019, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.963/0.965, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2268/1.192, allocations: 185.4 MB / 1.503 GB, free: 15.14 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007308/1.199, allocations: 4.469 MB / 1.507 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/1.2, allocations: 27.75 kB / 1.507 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/1.201, allocations: 254.1 kB / 1.508 GB, free: 11.15 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/1.203, allocations: 0.7932 MB / 1.508 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/1.207, allocations: 1.553 MB / 1.51 GB, free: 8.797 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001907/1.209, allocations: 1.246 MB / 1.511 GB, free: 7.547 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/1.21, allocations: 385.4 kB / 1.511 GB, free: 7.164 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/1.211, allocations: 0.8213 MB / 1.512 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/1.212, allocations: 418.3 kB / 1.513 GB, free: 5.93 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/1.212, allocations: 44 kB / 1.513 GB, free: 5.887 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/1.215, allocations: 1.629 MB / 1.514 GB, free: 4.254 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/1.215, allocations: 199.3 kB / 1.515 GB, free: 4.059 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/1.216, allocations: 298.5 kB / 1.515 GB, free: 3.766 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/1.218, allocations: 1.319 MB / 1.516 GB, free: 2.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.218, allocations: 0 / 1.516 GB, free: 2.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/1.218, allocations: 0 / 1.516 GB, free: 2.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.817e-06/1.218, allocations: 0 / 1.516 GB, free: 2.445 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.001985/1.22, allocations: 1.04 MB / 1.517 GB, free: 1.344 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.22, allocations: 15.92 kB / 1.517 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/1.222, allocations: 291.2 kB / 1.517 GB, free: 1.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/1.223, allocations: 469.8 kB / 1.518 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/1.223, allocations: 37 kB / 1.518 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.989e-05/1.223, allocations: 40 kB / 1.518 GB, free: 484 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.224, allocations: 0.5468 MB / 1.518 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/1.224, allocations: 3.938 kB / 1.518 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/1.224, allocations: 19.98 kB / 1.518 GB, free: 15.87 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/1.225, allocations: 15.94 kB / 1.518 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/1.226, allocations: 455.6 kB / 1.519 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/1.228, allocations: 2.12 MB / 1.521 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.23, allocations: 390.4 kB / 1.521 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/1.23, allocations: 217.2 kB / 1.522 GB, free: 12.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/1.231, allocations: 396.3 kB / 1.522 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006724/1.231, allocations: 296.2 kB / 1.522 GB, free: 11.79 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/1.231, allocations: 0 / 1.522 GB, free: 11.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001944/1.233, allocations: 0.6894 MB / 1.523 GB, free: 11.09 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.233, allocations: 59.39 kB / 1.523 GB, free: 11.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/1.234, allocations: 0.4903 MB / 1.523 GB, free: 10.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/1.234, allocations: 29.7 kB / 1.523 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.234, allocations: 272.4 kB / 1.524 GB, free: 10.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.235, allocations: 122.9 kB / 1.524 GB, free: 10.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1.235, allocations: 94.06 kB / 1.524 GB, free: 9.992 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.235, allocations: 362.8 kB / 1.524 GB, free: 9.629 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/1.235, allocations: 200.8 kB / 1.524 GB, free: 9.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/1.236, allocations: 324 kB / 1.525 GB, free: 9.078 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.237, allocations: 0.5409 MB / 1.525 GB, free: 8.484 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.237, allocations: 0 / 1.525 GB, free: 8.484 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001419/1.239, allocations: 0.6485 MB / 1.526 GB, free: 7.816 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/1.239, allocations: 67.39 kB / 1.526 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.239, allocations: 4 kB / 1.526 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.239, allocations: 4 kB / 1.526 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/1.239, allocations: 99.81 kB / 1.526 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.239, allocations: 4 kB / 1.526 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/1.24, allocations: 79.83 kB / 1.526 GB, free: 7.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/1.24, allocations: 24.05 kB / 1.526 GB, free: 7.527 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.0002702/1.24, allocations: 201.6 kB / 1.526 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/1.24, allocations: 59.62 kB / 1.526 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.242, allocations: 0.5334 MB / 1.527 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.242, allocations: 4 kB / 1.527 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.242, allocations: 0 / 1.527 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.242, allocations: 0 / 1.527 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/1.244, allocations: 1.355 MB / 1.528 GB, free: 5.262 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.244, allocations: 7.938 kB / 1.528 GB, free: 5.254 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/1.244, allocations: 80.31 kB / 1.528 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.244, allocations: 11.94 kB / 1.528 GB, free: 5.164 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.244, allocations: 8 kB / 1.528 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.244, allocations: 8 kB / 1.528 GB, free: 5.148 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.244, allocations: 4 kB / 1.528 GB, free: 5.145 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/1.246, allocations: 0.9329 MB / 1.529 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/1.247, allocations: 184.6 kB / 1.53 GB, free: 3.949 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/1.247, allocations: 8 kB / 1.53 GB, free: 3.941 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/1.247, allocations: 39.95 kB / 1.53 GB, free: 3.902 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.247, allocations: 47.83 kB / 1.53 GB, free: 3.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/1.247, allocations: 16 kB / 1.53 GB, free: 3.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005283/1.248, allocations: 350.8 kB / 1.53 GB, free: 3.5 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/1.248, allocations: 0 / 1.53 GB, free: 3.5 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006184/1.248, allocations: 147.9 kB / 1.53 GB, free: 3.355 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.0004426/1.249, allocations: 187 kB / 1.53 GB, free: 3.164 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.25, allocations: 0.573 MB / 1.531 GB, free: 2.566 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.25, allocations: 3.938 kB / 1.531 GB, free: 2.562 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000643/1.251, allocations: 249.3 kB / 1.531 GB, free: 2.32 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.252, allocations: 300.7 kB / 1.531 GB, free: 2.039 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/1.254, allocations: 1.093 MB / 1.532 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/1.255, allocations: 0.8665 MB / 1.533 GB, free: 15.97 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.255, allocations: 43.44 kB / 1.533 GB, free: 15.93 MB / 1.217 GB Notification: Performance of SimCode: time 7.12e-07/1.255, allocations: 0 / 1.533 GB, free: 15.93 MB / 1.217 GB Notification: Performance of Templates: time 0.01541/1.271, allocations: 9.094 MB / 1.542 GB, free: 6.922 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 -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: 13.14096653800516]