Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.001374/0.001374, allocations: 78.88 kB / 19.76 MB, free: 2.031 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.00147/0.00147, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.796/2.796, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [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.002338/0.002338, allocations: 67.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8057, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2003/1.006, allocations: 169.1 MB / 1.319 GB, free: 14.29 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03947/1.045, allocations: 24.17 MB / 1.343 GB, free: 7.336 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/1.048, allocations: 79.38 kB / 1.343 GB, free: 7.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005879/1.054, allocations: 2.002 MB / 1.345 GB, free: 5.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/1.066, allocations: 4.559 MB / 1.349 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006294/1.073, allocations: 2.543 MB / 1.352 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01331/1.086, allocations: 8.496 MB / 1.36 GB, free: 5.637 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.088, allocations: 1.259 MB / 1.361 GB, free: 4.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006505/1.095, allocations: 3.029 MB / 1.364 GB, free: 1.301 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/1.097, allocations: 1.374 MB / 1.365 GB, free: 15.92 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003202/1.097, allocations: 192 kB / 1.366 GB, free: 15.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00839/1.106, allocations: 3.928 MB / 1.369 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007883/1.107, allocations: 0.6656 MB / 1.37 GB, free: 11.13 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/1.108, allocations: 0.9215 MB / 1.371 GB, free: 10.21 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008555/1.116, allocations: 5.378 MB / 1.376 GB, free: 4.812 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.116, allocations: 0 / 1.376 GB, free: 4.812 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/1.116, allocations: 0 / 1.376 GB, free: 4.812 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.31e-05/1.117, allocations: 0 / 1.376 GB, free: 4.812 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.005715/1.122, allocations: 2.783 MB / 1.379 GB, free: 1.973 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.122, allocations: 12.03 kB / 1.379 GB, free: 1.961 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/1.127, allocations: 0.6659 MB / 1.38 GB, free: 1.293 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006138/1.133, allocations: 3.01 MB / 1.383 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/1.133, allocations: 82.09 kB / 1.383 GB, free: 14.14 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/1.133, allocations: 112 kB / 1.383 GB, free: 14.03 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/1.137, allocations: 1.561 MB / 1.384 GB, free: 12.33 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/1.137, allocations: 11.89 kB / 1.384 GB, free: 12.32 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.137, allocations: 48 kB / 1.384 GB, free: 12.27 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.137, allocations: 31.75 kB / 1.384 GB, free: 12.24 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/1.14, allocations: 1.116 MB / 1.385 GB, free: 11.12 MB / 1.232 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.008881/1.149, allocations: 5.153 MB / 1.39 GB, free: 5.82 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.151, allocations: 0.7587 MB / 1.391 GB, free: 5.039 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/1.152, allocations: 376.3 kB / 1.392 GB, free: 4.66 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007638/1.159, allocations: 1.858 MB / 1.393 GB, free: 2.797 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/1.161, allocations: 0.6748 MB / 1.394 GB, free: 2.051 MB / 1.232 GB Notification: Performance of pre-optimization done (n=67): time 2.835e-06/1.161, allocations: 0 / 1.394 GB, free: 2.051 MB / 1.232 GB Notification: Performance of matching and sorting (n=81): time 0.05917/1.22, allocations: 18.73 MB / 1.412 GB, free: 15.28 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.22, allocations: 166.8 kB / 1.413 GB, free: 15.08 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/1.223, allocations: 1.838 MB / 1.414 GB, free: 13.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/1.223, allocations: 41.7 kB / 1.414 GB, free: 13.15 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009529/1.224, allocations: 0.9297 MB / 1.415 GB, free: 12.21 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/1.224, allocations: 297.4 kB / 1.416 GB, free: 11.92 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/1.225, allocations: 218.8 kB / 1.416 GB, free: 11.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.225, allocations: 349.9 kB / 1.416 GB, free: 11.35 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.226, allocations: 442.4 kB / 1.416 GB, free: 10.92 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.228, allocations: 0.987 MB / 1.417 GB, free: 9.738 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/1.23, allocations: 1.244 MB / 1.419 GB, free: 8.348 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.23, allocations: 4 kB / 1.419 GB, free: 8.344 MB / 1.264 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004356/1.235, allocations: 1.595 MB / 1.42 GB, free: 6.734 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.235, allocations: 8 kB / 1.42 GB, free: 6.727 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.235, allocations: 12 kB / 1.42 GB, free: 6.715 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/1.235, allocations: 221.7 kB / 1.42 GB, free: 6.492 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.237, allocations: 259.6 kB / 1.421 GB, free: 6.238 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/1.242, allocations: 3.867 MB / 1.424 GB, free: 2.16 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.244, allocations: 112.6 kB / 1.425 GB, free: 2.051 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.244, allocations: 55.98 kB / 1.425 GB, free: 1.996 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.245, allocations: 0.552 MB / 1.425 GB, free: 1.434 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006899/1.246, allocations: 198.7 kB / 1.425 GB, free: 1.238 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/1.25, allocations: 1.497 MB / 1.427 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.25, allocations: 8 kB / 1.427 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.25, allocations: 3.938 kB / 1.427 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/1.253, allocations: 1.273 MB / 1.428 GB, free: 14.38 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/1.279, allocations: 8.005 MB / 1.436 GB, free: 6.246 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.279, allocations: 8 kB / 1.436 GB, free: 6.238 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/1.28, allocations: 180.4 kB / 1.436 GB, free: 6.062 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/1.281, allocations: 164.7 kB / 1.436 GB, free: 5.898 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/1.281, allocations: 27.98 kB / 1.436 GB, free: 5.871 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/1.284, allocations: 2.212 MB / 1.438 GB, free: 3.562 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.284, allocations: 12 kB / 1.438 GB, free: 3.551 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/1.289, allocations: 1.915 MB / 1.44 GB, free: 1.547 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/1.29, allocations: 306.8 kB / 1.441 GB, free: 1.246 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/1.29, allocations: 24 kB / 1.441 GB, free: 1.223 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.291, allocations: 95.78 kB / 1.441 GB, free: 1.129 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.291, allocations: 72.42 kB / 1.441 GB, free: 1.059 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/1.292, allocations: 39.98 kB / 1.441 GB, free: 1.02 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0021/1.294, allocations: 1.278 MB / 1.442 GB, free: 15.72 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.294, allocations: 0 / 1.442 GB, free: 15.72 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003879/1.298, allocations: 1.28 MB / 1.443 GB, free: 14.44 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005845/1.303, allocations: 1.159 MB / 1.444 GB, free: 13.45 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003563/1.307, allocations: 1.333 MB / 1.446 GB, free: 12.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.307, allocations: 0 / 1.446 GB, free: 12.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.309, allocations: 0.6244 MB / 1.446 GB, free: 11.46 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.313, allocations: 0.9936 MB / 1.447 GB, free: 10.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/1.32, allocations: 3.81 MB / 1.451 GB, free: 6.586 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.321, allocations: 0.9063 MB / 1.452 GB, free: 5.641 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001545/1.322, allocations: 407.4 kB / 1.452 GB, free: 5.242 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/1.323, allocations: 168.4 kB / 1.453 GB, free: 5.078 MB / 1.295 GB Notification: Performance of SimCode: time 7.11e-07/1.323, allocations: 0 / 1.453 GB, free: 5.078 MB / 1.295 GB Notification: Performance of Templates: time 0.1163/1.439, allocations: 71.87 MB / 1.523 GB, free: 14.14 MB / 1.373 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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: 15.404416325967759]