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.001399/0.001399, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001583/0.001583, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.95/2.95, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 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 2.625e-06/2.625e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.575e-05, allocations: 5.094 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8426/0.8426, allocations: 168.8 MB / 1.146 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02969/0.8723, allocations: 24.12 MB / 1.17 GB, free: 45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.8758, allocations: 83.31 kB / 1.17 GB, free: 45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006083/0.8819, allocations: 2.014 MB / 1.172 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.8947, allocations: 4.646 MB / 1.176 GB, free: 44.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/0.9008, allocations: 2.618 MB / 1.179 GB, free: 44.47 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0151/0.916, allocations: 8.533 MB / 1.187 GB, free: 43.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.9187, allocations: 1.254 MB / 1.188 GB, free: 43.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009801/0.9285, allocations: 3.66 MB / 1.192 GB, free: 43.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.9318, allocations: 1.235 MB / 1.193 GB, free: 42.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004923/0.9323, allocations: 190.6 kB / 1.193 GB, free: 42.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.9438, allocations: 3.943 MB / 1.197 GB, free: 42.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.9451, allocations: 0.686 MB / 1.198 GB, free: 42.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.9471, allocations: 0.7699 MB / 1.199 GB, free: 42.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.9632, allocations: 5.83 MB / 1.204 GB, free: 40.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9632, allocations: 1.984 kB / 1.204 GB, free: 40.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9632, allocations: 1.031 kB / 1.204 GB, free: 40.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.075e-05/0.9633, allocations: 0 / 1.204 GB, free: 40.43 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.008687/0.972, allocations: 2.748 MB / 1.207 GB, free: 38.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.972, allocations: 9.406 kB / 1.207 GB, free: 38.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.9771, allocations: 0.6655 MB / 1.208 GB, free: 38.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/0.9836, allocations: 3.016 MB / 1.211 GB, free: 36.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.9836, allocations: 84.12 kB / 1.211 GB, free: 36.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.9839, allocations: 111.2 kB / 1.211 GB, free: 36.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.987, allocations: 1.567 MB / 1.212 GB, free: 35.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.987, allocations: 5.141 kB / 1.212 GB, free: 35.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.9872, allocations: 49.55 kB / 1.212 GB, free: 35.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.9872, allocations: 30.02 kB / 1.212 GB, free: 35.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.9899, allocations: 1.117 MB / 1.214 GB, free: 35.56 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.009011/0.999, allocations: 5.149 MB / 1.219 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/1.001, allocations: 0.777 MB / 1.219 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/1.002, allocations: 368.9 kB / 1.22 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007513/1.009, allocations: 1.863 MB / 1.222 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.011, allocations: 0.6759 MB / 1.222 GB, free: 31.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=67): time 2.565e-06/1.011, allocations: 4 kB / 1.222 GB, free: 31.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.05429/1.065, allocations: 18.73 MB / 1.24 GB, free: 27.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/1.065, allocations: 171.1 kB / 1.241 GB, free: 27.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/1.067, allocations: 1.829 MB / 1.242 GB, free: 26.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.068, allocations: 45.98 kB / 1.242 GB, free: 26.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/1.068, allocations: 0.9216 MB / 1.243 GB, free: 25.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/1.069, allocations: 297.9 kB / 1.244 GB, free: 25.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/1.069, allocations: 216.2 kB / 1.244 GB, free: 25.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/1.069, allocations: 346.2 kB / 1.244 GB, free: 25.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.07, allocations: 452.6 kB / 1.245 GB, free: 24.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/1.071, allocations: 0.9799 MB / 1.246 GB, free: 24.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/1.073, allocations: 1.248 MB / 1.247 GB, free: 23.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.073, allocations: 1.969 kB / 1.247 GB, free: 23.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003884/1.077, allocations: 1.596 MB / 1.248 GB, free: 22.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.077, allocations: 12.41 kB / 1.248 GB, free: 22.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.077, allocations: 10.53 kB / 1.248 GB, free: 22.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007734/1.078, allocations: 215 kB / 1.249 GB, free: 22.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/1.079, allocations: 258.2 kB / 1.249 GB, free: 22.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/1.083, allocations: 3.877 MB / 1.253 GB, free: 19.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.085, allocations: 113.4 kB / 1.253 GB, free: 19.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.085, allocations: 55.88 kB / 1.253 GB, free: 19.31 MB / 1.076 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.0009299/1.086, allocations: 0.5529 MB / 1.253 GB, free: 18.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/1.087, allocations: 193.3 kB / 1.254 GB, free: 18.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.09, allocations: 1.495 MB / 1.255 GB, free: 18.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.09, allocations: 14.62 kB / 1.255 GB, free: 18.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.09, allocations: 0 / 1.255 GB, free: 18.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0024/1.092, allocations: 1.277 MB / 1.256 GB, free: 17.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/1.118, allocations: 7.989 MB / 1.264 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.118, allocations: 5.719 kB / 1.264 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/1.119, allocations: 179 kB / 1.264 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.12, allocations: 163.8 kB / 1.264 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/1.12, allocations: 31.92 kB / 1.264 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/1.123, allocations: 2.214 MB / 1.267 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.123, allocations: 9.219 kB / 1.267 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/1.127, allocations: 1.902 MB / 1.268 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.128, allocations: 310.1 kB / 1.269 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/1.129, allocations: 26.77 kB / 1.269 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.13, allocations: 85.08 kB / 1.269 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.13, allocations: 80.53 kB / 1.269 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/1.13, allocations: 33.8 kB / 1.269 GB, free: 12.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002128/1.133, allocations: 1.276 MB / 1.27 GB, free: 11.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 0 / 1.27 GB, free: 11.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005984/1.139, allocations: 1.285 MB / 1.271 GB, free: 11.64 MB / 1.076 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.007884/1.146, allocations: 1.242 MB / 1.273 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003339/1.15, allocations: 1.328 MB / 1.274 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.15, allocations: 7.031 kB / 1.274 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.151, allocations: 0.6225 MB / 1.275 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.156, allocations: 0.997 MB / 1.276 GB, free: 9.973 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/1.161, allocations: 3.653 MB / 1.279 GB, free: 7.703 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/1.162, allocations: 0.903 MB / 1.28 GB, free: 7.184 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001552/1.164, allocations: 410.5 kB / 1.28 GB, free: 6.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/1.164, allocations: 172.6 kB / 1.281 GB, free: 6.938 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/1.164, allocations: 4 kB / 1.281 GB, free: 6.934 MB / 1.076 GB Notification: Performance of Templates: time 0.1218/1.286, allocations: 71.56 MB / 1.35 GB, free: 0.5273 MB / 1.139 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.298978764563799]