Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001285/0.001285, 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.001319/0.001319, 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.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.059/3.059, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2589/1.368, allocations: 182.7 MB / 1.45 GB, free: 13.89 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008224/1.376, allocations: 4.491 MB / 1.455 GB, free: 9.395 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/1.377, allocations: 19.88 kB / 1.455 GB, free: 9.375 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/1.378, allocations: 250.1 kB / 1.455 GB, free: 9.129 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/1.38, allocations: 0.7932 MB / 1.456 GB, free: 8.332 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/1.385, allocations: 1.564 MB / 1.457 GB, free: 6.77 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002151/1.387, allocations: 1.266 MB / 1.459 GB, free: 5.5 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/1.388, allocations: 357.4 kB / 1.459 GB, free: 5.141 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/1.389, allocations: 0.576 MB / 1.459 GB, free: 4.562 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/1.39, allocations: 438.2 kB / 1.46 GB, free: 4.133 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/1.39, allocations: 48 kB / 1.46 GB, free: 4.086 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/1.393, allocations: 1.648 MB / 1.462 GB, free: 2.434 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/1.394, allocations: 195.4 kB / 1.462 GB, free: 2.242 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004712/1.394, allocations: 302.5 kB / 1.462 GB, free: 1.945 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/1.397, allocations: 1.315 MB / 1.463 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.397, allocations: 0 / 1.463 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.894e-06/1.397, allocations: 0 / 1.463 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.397, allocations: 0 / 1.463 GB, free: 0.6289 MB / 1.139 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.002236/1.399, allocations: 1.036 MB / 1.464 GB, free: 15.53 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.399, allocations: 12.03 kB / 1.464 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/1.401, allocations: 287.3 kB / 1.465 GB, free: 15.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/1.402, allocations: 477.7 kB / 1.465 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.403, allocations: 29 kB / 1.465 GB, free: 14.7 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/1.403, allocations: 44 kB / 1.465 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.404, allocations: 0.5468 MB / 1.466 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.404, allocations: 0 / 1.466 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.404, allocations: 16 kB / 1.466 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.404, allocations: 19.94 kB / 1.466 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.405, allocations: 455.5 kB / 1.466 GB, free: 13.6 MB / 1.154 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.002981/1.408, allocations: 2.12 MB / 1.468 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.409, allocations: 394.3 kB / 1.469 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/1.409, allocations: 216.6 kB / 1.469 GB, free: 10.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/1.41, allocations: 400.3 kB / 1.469 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/1.411, allocations: 298.8 kB / 1.469 GB, free: 9.969 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/1.411, allocations: 0 / 1.469 GB, free: 9.969 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001993/1.413, allocations: 0.6795 MB / 1.47 GB, free: 9.285 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.413, allocations: 67.16 kB / 1.47 GB, free: 9.207 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/1.414, allocations: 498 kB / 1.471 GB, free: 8.707 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/1.414, allocations: 37.7 kB / 1.471 GB, free: 8.664 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/1.414, allocations: 260.5 kB / 1.471 GB, free: 8.406 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.414, allocations: 130.9 kB / 1.471 GB, free: 8.277 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.415, allocations: 90.12 kB / 1.471 GB, free: 8.184 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.415, allocations: 366.7 kB / 1.471 GB, free: 7.816 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/1.415, allocations: 200.8 kB / 1.472 GB, free: 7.621 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/1.416, allocations: 324 kB / 1.472 GB, free: 7.266 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/1.417, allocations: 0.5448 MB / 1.473 GB, free: 6.668 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.417, allocations: 0 / 1.473 GB, free: 6.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001464/1.418, allocations: 0.6563 MB / 1.473 GB, free: 5.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/1.418, allocations: 63.39 kB / 1.473 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.418, allocations: 4 kB / 1.473 GB, free: 5.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.419, allocations: 4 kB / 1.473 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/1.419, allocations: 96.09 kB / 1.473 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.419, allocations: 12 kB / 1.473 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/1.42, allocations: 79.56 kB / 1.473 GB, free: 5.727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/1.42, allocations: 20 kB / 1.473 GB, free: 5.707 MB / 1.154 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.0002664/1.42, allocations: 202.3 kB / 1.474 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/1.42, allocations: 59.61 kB / 1.474 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.421, allocations: 0.5334 MB / 1.474 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.421, allocations: 0 / 1.474 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.421, allocations: 4 kB / 1.474 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/1.421, allocations: 3.984 kB / 1.474 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.424, allocations: 1.354 MB / 1.476 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.424, allocations: 3.938 kB / 1.476 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/1.424, allocations: 80.33 kB / 1.476 GB, free: 3.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.424, allocations: 4.062 kB / 1.476 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/1.424, allocations: 16 kB / 1.476 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/1.424, allocations: 11.92 kB / 1.476 GB, free: 3.324 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.424, allocations: 4 kB / 1.476 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/1.426, allocations: 0.9447 MB / 1.477 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/1.426, allocations: 176.5 kB / 1.477 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/1.426, allocations: 16 kB / 1.477 GB, free: 2.105 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/1.427, allocations: 35.95 kB / 1.477 GB, free: 2.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.427, allocations: 47.83 kB / 1.477 GB, free: 2.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/1.427, allocations: 20.06 kB / 1.477 GB, free: 2.004 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004543/1.427, allocations: 342.8 kB / 1.477 GB, free: 1.672 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.427, allocations: 0 / 1.477 GB, free: 1.672 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006159/1.428, allocations: 151.9 kB / 1.477 GB, free: 1.523 MB / 1.154 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.000542/1.429, allocations: 202 kB / 1.478 GB, free: 1.328 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.43, allocations: 0.5684 MB / 1.478 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.43, allocations: 0 / 1.478 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/1.431, allocations: 280.7 kB / 1.478 GB, free: 472 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.432, allocations: 283.1 kB / 1.479 GB, free: 196 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/1.434, allocations: 1.065 MB / 1.48 GB, free: 15.05 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/1.435, allocations: 0.8665 MB / 1.481 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004368/1.435, allocations: 128.7 kB / 1.481 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.435, allocations: 43.44 kB / 1.481 GB, free: 13.99 MB / 1.17 GB Notification: Performance of SimCode: time 9.72e-07/1.435, allocations: 4 kB / 1.481 GB, free: 13.98 MB / 1.17 GB Notification: Performance of Templates: time 0.01927/1.455, allocations: 11.04 MB / 1.491 GB, free: 3.105 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.376633901149035]