Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001472/0.001472, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001799/0.001799, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.463/1.463, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8521/1.171, allocations: 182.4 MB / 1.392 GB, free: 288 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00724/1.178, allocations: 4.467 MB / 1.397 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/1.179, allocations: 19.38 kB / 1.397 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000818/1.179, allocations: 254.7 kB / 1.397 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/1.182, allocations: 0.7944 MB / 1.398 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/1.186, allocations: 1.548 MB / 1.399 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001855/1.188, allocations: 1.26 MB / 1.4 GB, free: 9.945 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007741/1.188, allocations: 388 kB / 1.401 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/1.19, allocations: 0.5884 MB / 1.401 GB, free: 9.355 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/1.19, allocations: 431.4 kB / 1.402 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/1.191, allocations: 45.97 kB / 1.402 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/1.194, allocations: 1.649 MB / 1.403 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/1.195, allocations: 190.4 kB / 1.404 GB, free: 8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005919/1.195, allocations: 304.3 kB / 1.404 GB, free: 7.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/1.198, allocations: 1.309 MB / 1.405 GB, free: 7.023 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.198, allocations: 0 / 1.405 GB, free: 7.023 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.198, allocations: 1.375 kB / 1.405 GB, free: 7.023 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.86e-05/1.198, allocations: 0 / 1.405 GB, free: 7.023 MB / 1.076 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.002352/1.201, allocations: 1.044 MB / 1.406 GB, free: 6.152 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.201, allocations: 8.969 kB / 1.406 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/1.203, allocations: 287.3 kB / 1.406 GB, free: 6.023 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/1.204, allocations: 474.1 kB / 1.407 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/1.204, allocations: 31.09 kB / 1.407 GB, free: 5.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.204, allocations: 41.19 kB / 1.407 GB, free: 5.602 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.205, allocations: 0.5485 MB / 1.407 GB, free: 5.238 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.205, allocations: 3.938 kB / 1.407 GB, free: 5.234 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/1.205, allocations: 24.95 kB / 1.407 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.205, allocations: 19.12 kB / 1.408 GB, free: 5.207 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.207, allocations: 451.9 kB / 1.408 GB, free: 5 MB / 1.076 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.002793/1.209, allocations: 2.124 MB / 1.41 GB, free: 3.145 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/1.21, allocations: 396.6 kB / 1.41 GB, free: 2.941 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/1.211, allocations: 211.5 kB / 1.411 GB, free: 2.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007293/1.212, allocations: 407.4 kB / 1.411 GB, free: 2.422 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000646/1.212, allocations: 289.5 kB / 1.411 GB, free: 2.242 MB / 1.076 GB Notification: Performance of pre-optimization done (n=37): time 2.504e-06/1.212, allocations: 0 / 1.411 GB, free: 2.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=37): time 0.00184/1.214, allocations: 0.6864 MB / 1.412 GB, free: 1.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.214, allocations: 61.03 kB / 1.412 GB, free: 1.844 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/1.215, allocations: 498.4 kB / 1.412 GB, free: 1.543 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/1.215, allocations: 32.89 kB / 1.412 GB, free: 1.508 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/1.215, allocations: 266.4 kB / 1.413 GB, free: 1.273 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/1.215, allocations: 127.3 kB / 1.413 GB, free: 1.164 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.215, allocations: 93.61 kB / 1.413 GB, free: 1.105 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.215, allocations: 365.5 kB / 1.413 GB, free: 0.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/1.216, allocations: 197 kB / 1.413 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/1.217, allocations: 317.8 kB / 1.414 GB, free: 452 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.218, allocations: 0.5442 MB / 1.414 GB, free: 64 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.218, allocations: 0 / 1.414 GB, free: 64 kB / 1.076 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001376/1.219, allocations: 0.654 MB / 1.415 GB, free: 15.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/1.219, allocations: 63.16 kB / 1.415 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.219, allocations: 1.938 kB / 1.415 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.219, allocations: 6.031 kB / 1.415 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/1.22, allocations: 98.62 kB / 1.415 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.22, allocations: 8.25 kB / 1.415 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/1.22, allocations: 82.02 kB / 1.415 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/1.22, allocations: 23.45 kB / 1.415 GB, free: 15.54 MB / 1.092 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.0002643/1.221, allocations: 194.9 kB / 1.415 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.221, allocations: 56.86 kB / 1.415 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/1.222, allocations: 0.5365 MB / 1.416 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.222, allocations: 2.688 kB / 1.416 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.222, allocations: 2.531 kB / 1.416 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.222, allocations: 0 / 1.416 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.224, allocations: 1.347 MB / 1.417 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.224, allocations: 8.625 kB / 1.417 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/1.225, allocations: 81.52 kB / 1.417 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.225, allocations: 5.312 kB / 1.417 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/1.225, allocations: 13.23 kB / 1.417 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.225, allocations: 15.56 kB / 1.417 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.225, allocations: 2.781 kB / 1.417 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.227, allocations: 0.9341 MB / 1.418 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/1.227, allocations: 182.5 kB / 1.419 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.227, allocations: 11.91 kB / 1.419 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/1.227, allocations: 37.86 kB / 1.419 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.228, allocations: 52.12 kB / 1.419 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/1.228, allocations: 20.36 kB / 1.419 GB, free: 13.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004357/1.228, allocations: 345.5 kB / 1.419 GB, free: 12.97 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.228, allocations: 0 / 1.419 GB, free: 12.97 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000613/1.229, allocations: 148.1 kB / 1.419 GB, free: 12.95 MB / 1.092 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.0004651/1.229, allocations: 208 kB / 1.419 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.23, allocations: 0.574 MB / 1.42 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.23, allocations: 0 / 1.42 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/1.231, allocations: 253.9 kB / 1.42 GB, free: 12.35 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.232, allocations: 285.2 kB / 1.42 GB, free: 12.21 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.234, allocations: 1.091 MB / 1.421 GB, free: 11.41 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.235, allocations: 0.8631 MB / 1.422 GB, free: 10.63 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/1.235, allocations: 46.72 kB / 1.422 GB, free: 10.62 MB / 1.092 GB Notification: Performance of SimCode: time 5.71e-07/1.235, allocations: 0 / 1.422 GB, free: 10.62 MB / 1.092 GB Notification: Performance of Templates: time 0.01526/1.25, allocations: 9.107 MB / 1.431 GB, free: 2.074 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.222358548082411]