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.001403/0.001403, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00132/0.00132, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.409/1.409, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.002083/0.002083, allocations: 63.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.9001, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2261/1.126, allocations: 182.7 MB / 1.452 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007978/1.134, allocations: 4.491 MB / 1.457 GB, free: 8.684 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/1.135, allocations: 19.88 kB / 1.457 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008543/1.136, allocations: 258.1 kB / 1.457 GB, free: 8.41 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/1.138, allocations: 0.7853 MB / 1.458 GB, free: 7.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/1.143, allocations: 1.567 MB / 1.459 GB, free: 6.055 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.145, allocations: 1.254 MB / 1.461 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/1.145, allocations: 361.2 kB / 1.461 GB, free: 4.434 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/1.147, allocations: 0.5878 MB / 1.462 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/1.147, allocations: 434.2 kB / 1.462 GB, free: 3.418 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.256e-05/1.147, allocations: 48 kB / 1.462 GB, free: 3.371 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/1.151, allocations: 1.648 MB / 1.464 GB, free: 1.719 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/1.151, allocations: 187.4 kB / 1.464 GB, free: 1.535 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/1.151, allocations: 310.5 kB / 1.464 GB, free: 1.23 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/1.154, allocations: 1.301 MB / 1.465 GB, free: 15.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.154, allocations: 0 / 1.465 GB, free: 15.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.773e-06/1.154, allocations: 7.938 kB / 1.465 GB, free: 15.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.154, allocations: 0 / 1.465 GB, free: 15.92 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.00218/1.156, allocations: 1.04 MB / 1.466 GB, free: 14.82 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.156, allocations: 12.03 kB / 1.466 GB, free: 14.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/1.159, allocations: 283.3 kB / 1.467 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/1.16, allocations: 485.8 kB / 1.467 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/1.16, allocations: 29 kB / 1.467 GB, free: 13.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.715e-05/1.16, allocations: 48 kB / 1.467 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.161, allocations: 0.5429 MB / 1.468 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.161, allocations: 0 / 1.468 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/1.161, allocations: 16 kB / 1.468 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/1.161, allocations: 11.94 kB / 1.468 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.163, allocations: 467.5 kB / 1.468 GB, free: 12.88 MB / 1.17 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.004443/1.167, allocations: 2.116 MB / 1.47 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.168, allocations: 390.3 kB / 1.471 GB, free: 10.24 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/1.169, allocations: 224.6 kB / 1.471 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/1.17, allocations: 396.3 kB / 1.471 GB, free: 9.555 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/1.171, allocations: 294.8 kB / 1.472 GB, free: 9.254 MB / 1.17 GB Notification: Performance of pre-optimization done (n=37): time 4.128e-06/1.171, allocations: 4 kB / 1.472 GB, free: 9.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=37): time 0.002116/1.173, allocations: 0.6872 MB / 1.472 GB, free: 8.559 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.173, allocations: 59.41 kB / 1.472 GB, free: 8.488 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/1.174, allocations: 498 kB / 1.473 GB, free: 7.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/1.174, allocations: 41.7 kB / 1.473 GB, free: 7.945 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.174, allocations: 260.5 kB / 1.473 GB, free: 7.688 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/1.174, allocations: 130.9 kB / 1.473 GB, free: 7.559 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.174, allocations: 90.08 kB / 1.473 GB, free: 7.465 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002333/1.174, allocations: 362.8 kB / 1.474 GB, free: 7.102 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/1.175, allocations: 192.8 kB / 1.474 GB, free: 6.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/1.176, allocations: 323.9 kB / 1.474 GB, free: 6.555 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.177, allocations: 0.5372 MB / 1.475 GB, free: 5.965 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.177, allocations: 11.94 kB / 1.475 GB, free: 5.953 MB / 1.17 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001531/1.179, allocations: 0.6603 MB / 1.475 GB, free: 5.273 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/1.179, allocations: 63.39 kB / 1.475 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.179, allocations: 0 / 1.475 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.179, allocations: 8 kB / 1.475 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/1.179, allocations: 91.88 kB / 1.475 GB, free: 5.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.179, allocations: 11.94 kB / 1.475 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/1.18, allocations: 79.73 kB / 1.476 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.18, allocations: 20 kB / 1.476 GB, free: 4.992 MB / 1.17 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.0003706/1.18, allocations: 197.6 kB / 1.476 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/1.18, allocations: 51.67 kB / 1.476 GB, free: 4.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.182, allocations: 0.5487 MB / 1.476 GB, free: 4.18 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.182, allocations: 4 kB / 1.476 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.182, allocations: 0 / 1.476 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.182, allocations: 7.984 kB / 1.476 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/1.185, allocations: 1.345 MB / 1.478 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.185, allocations: 7.938 kB / 1.478 GB, free: 2.715 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/1.185, allocations: 75.88 kB / 1.478 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.185, allocations: 7.984 kB / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/1.185, allocations: 12.44 kB / 1.478 GB, free: 2.621 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.185, allocations: 8 kB / 1.478 GB, free: 2.613 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.185, allocations: 7.938 kB / 1.478 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.187, allocations: 0.9407 MB / 1.479 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/1.187, allocations: 184.6 kB / 1.479 GB, free: 1.402 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/1.188, allocations: 12 kB / 1.479 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.188, allocations: 32.03 kB / 1.479 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.188, allocations: 51.81 kB / 1.479 GB, free: 1.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/1.188, allocations: 16 kB / 1.479 GB, free: 1.293 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007257/1.189, allocations: 346.8 kB / 1.479 GB, free: 0.957 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.2e-07/1.189, allocations: 0 / 1.479 GB, free: 0.957 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006887/1.19, allocations: 155.9 kB / 1.479 GB, free: 0.8047 MB / 1.17 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.0005498/1.19, allocations: 205.8 kB / 1.48 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.192, allocations: 0.5609 MB / 1.48 GB, free: 12 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.192, allocations: 4 kB / 1.48 GB, free: 8 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008041/1.192, allocations: 287.7 kB / 1.48 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.194, allocations: 271.8 kB / 1.481 GB, free: 15.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/1.196, allocations: 1.064 MB / 1.482 GB, free: 14.33 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/1.197, allocations: 0.8704 MB / 1.483 GB, free: 13.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000482/1.197, allocations: 128.7 kB / 1.483 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.198, allocations: 39.44 kB / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/1.198, allocations: 0 / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of Templates: time 0.02912/1.227, allocations: 11.04 MB / 1.494 GB, free: 2.398 MB / 1.186 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.235269966069609]