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.001477/0.001477, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001628/0.001628, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.955/2.955, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.293e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2606/0.2607, allocations: 168.8 MB / 0.9756 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.04378/0.3044, allocations: 24.12 MB / 0.9992 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.3072, allocations: 83.38 kB / 0.9992 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.006646/0.3139, allocations: 2.014 MB / 1.001 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.3279, allocations: 4.654 MB / 1.006 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.335, allocations: 2.596 MB / 1.008 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01518/0.3502, allocations: 8.553 MB / 1.017 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.3531, allocations: 1.286 MB / 1.018 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00974/0.3628, allocations: 3.672 MB / 1.021 GB, free: 9.656 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.366, allocations: 1.232 MB / 1.023 GB, free: 8.422 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0006177/0.3666, allocations: 192 kB / 1.023 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.3768, allocations: 3.947 MB / 1.027 GB, free: 4.281 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.3781, allocations: 0.6852 MB / 1.027 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.3799, allocations: 0.7715 MB / 1.028 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3927, allocations: 5.828 MB / 1.034 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3927, allocations: 0 / 1.034 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3927, allocations: 0 / 1.034 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.966e-05/0.3928, allocations: 0 / 1.034 GB, free: 12.98 MB / 0.9948 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.00738/0.4002, allocations: 2.759 MB / 1.037 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4002, allocations: 8.031 kB / 1.037 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.4054, allocations: 0.8251 MB / 1.037 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006998/0.4124, allocations: 3.133 MB / 1.04 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.4125, allocations: 86.09 kB / 1.04 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.4128, allocations: 120 kB / 1.041 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.4161, allocations: 1.561 MB / 1.042 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.4161, allocations: 4 kB / 1.042 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.4163, allocations: 44 kB / 1.042 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.4163, allocations: 28 kB / 1.042 GB, free: 4.148 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.4192, allocations: 1.116 MB / 1.043 GB, free: 3.031 MB / 0.9948 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.4925/0.9117, allocations: 5.211 MB / 1.048 GB, free: 272.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.9136, allocations: 0.7687 MB / 1.049 GB, free: 272.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.9143, allocations: 367.6 kB / 1.049 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006192/0.9205, allocations: 1.872 MB / 1.051 GB, free: 272.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.9217, allocations: 0.6736 MB / 1.052 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=67): time 2.414e-06/0.9217, allocations: 0 / 1.052 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.04765/0.9694, allocations: 18.79 MB / 1.07 GB, free: 268.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.9695, allocations: 168.3 kB / 1.07 GB, free: 268.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.9722, allocations: 1.831 MB / 1.072 GB, free: 267.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.9723, allocations: 43.7 kB / 1.072 GB, free: 267.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/0.973, allocations: 0.919 MB / 1.073 GB, free: 267 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.9733, allocations: 299.6 kB / 1.073 GB, free: 266.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.9737, allocations: 218.1 kB / 1.074 GB, free: 266.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.9737, allocations: 348.6 kB / 1.074 GB, free: 266.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.9748, allocations: 447.9 kB / 1.074 GB, free: 266.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.9761, allocations: 0.9826 MB / 1.075 GB, free: 265.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.9783, allocations: 1.248 MB / 1.077 GB, free: 264.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9783, allocations: 2.781 kB / 1.077 GB, free: 264.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004403/0.9827, allocations: 1.676 MB / 1.078 GB, free: 263.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.9827, allocations: 13.75 kB / 1.078 GB, free: 263.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.9827, allocations: 10.75 kB / 1.078 GB, free: 263.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.9838, allocations: 253.1 kB / 1.079 GB, free: 263.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.9848, allocations: 261.5 kB / 1.079 GB, free: 263.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.9891, allocations: 3.874 MB / 1.083 GB, free: 260.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.9913, allocations: 114.1 kB / 1.083 GB, free: 260.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.9915, allocations: 58.75 kB / 1.083 GB, free: 260.4 MB / 0.9948 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.001358/0.9929, allocations: 0.5423 MB / 1.083 GB, free: 260.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.994, allocations: 255.3 kB / 1.084 GB, free: 259.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.9984, allocations: 1.503 MB / 1.085 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.9984, allocations: 12.78 kB / 1.085 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9984, allocations: 1.594 kB / 1.085 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00271/1.001, allocations: 1.274 MB / 1.086 GB, free: 258.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/1.027, allocations: 7.998 MB / 1.094 GB, free: 256.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.027, allocations: 8.344 kB / 1.094 GB, free: 256.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/1.027, allocations: 181.5 kB / 1.094 GB, free: 256.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/1.028, allocations: 187.4 kB / 1.094 GB, free: 256.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.028, allocations: 30.39 kB / 1.094 GB, free: 256.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/1.031, allocations: 2.233 MB / 1.097 GB, free: 254.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.031, allocations: 6.812 kB / 1.097 GB, free: 254.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/1.036, allocations: 1.948 MB / 1.099 GB, free: 253.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/1.037, allocations: 312.1 kB / 1.099 GB, free: 253.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/1.037, allocations: 31.62 kB / 1.099 GB, free: 253.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.039, allocations: 87.73 kB / 1.099 GB, free: 253.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.039, allocations: 74.78 kB / 1.099 GB, free: 253.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/1.039, allocations: 38.41 kB / 1.099 GB, free: 253.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002761/1.042, allocations: 1.281 MB / 1.1 GB, free: 252.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/1.042, allocations: 0 / 1.1 GB, free: 252.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004621/1.047, allocations: 1.288 MB / 1.102 GB, free: 251.4 MB / 0.9948 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.008417/1.055, allocations: 1.232 MB / 1.103 GB, free: 250.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.059, allocations: 1.329 MB / 1.104 GB, free: 249.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.059, allocations: 4 kB / 1.104 GB, free: 249.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.061, allocations: 0.6204 MB / 1.105 GB, free: 248.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.066, allocations: 1.053 MB / 1.106 GB, free: 248 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/1.073, allocations: 3.698 MB / 1.109 GB, free: 244.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.075, allocations: 0.906 MB / 1.11 GB, free: 243.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002161/1.077, allocations: 419.9 kB / 1.111 GB, free: 243.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/1.078, allocations: 171.5 kB / 1.111 GB, free: 243.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.804e-06/1.078, allocations: 0 / 1.111 GB, free: 243.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.08932/1.167, allocations: 72 MB / 1.181 GB, free: 173.8 MB / 0.9948 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 -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/jenkins/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: 14.217896315036342]