Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000816/0.000816, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007901/0.0007901, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9402/0.9402, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.554e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.6614/0.6615, allocations: 168.8 MB / 1.166 GB, free: 9.719 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.03001/0.6915, allocations: 24.09 MB / 1.189 GB, free: 9.895 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.695, allocations: 79.44 kB / 1.189 GB, free: 9.855 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.005942/0.701, allocations: 2.022 MB / 1.191 GB, free: 8.969 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.714, allocations: 4.645 MB / 1.196 GB, free: 6.523 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.72, allocations: 2.596 MB / 1.198 GB, free: 5.375 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.7306, allocations: 8.521 MB / 1.207 GB, free: 0.8164 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.7325, allocations: 1.216 MB / 1.208 GB, free: 15.89 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/0.7385, allocations: 3.637 MB / 1.211 GB, free: 13.52 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.7401, allocations: 1.241 MB / 1.213 GB, free: 12.83 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.7403, allocations: 189.6 kB / 1.213 GB, free: 12.83 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.7472, allocations: 3.947 MB / 1.217 GB, free: 10.87 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.7478, allocations: 0.6787 MB / 1.217 GB, free: 10.37 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0008612/0.7486, allocations: 0.7725 MB / 1.218 GB, free: 9.961 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00751/0.7561, allocations: 5.821 MB / 1.224 GB, free: 6.004 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7561, allocations: 6.75 kB / 1.224 GB, free: 6 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7561, allocations: 0 / 1.224 GB, free: 6 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.663e-05/0.7562, allocations: 0 / 1.224 GB, free: 6 MB / 1.057 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.004638/0.7609, allocations: 2.75 MB / 1.226 GB, free: 3.949 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.7609, allocations: 7.5 kB / 1.226 GB, free: 3.949 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.7633, allocations: 0.6656 MB / 1.227 GB, free: 3.641 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.767, allocations: 3.005 MB / 1.23 GB, free: 0.8516 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.7671, allocations: 86.09 kB / 1.23 GB, free: 0.7656 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.7672, allocations: 116 kB / 1.23 GB, free: 0.6523 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.7692, allocations: 1.568 MB / 1.232 GB, free: 14.94 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.7692, allocations: 3.953 kB / 1.232 GB, free: 14.94 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.7693, allocations: 44 kB / 1.232 GB, free: 14.89 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.7693, allocations: 32 kB / 1.232 GB, free: 14.86 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.7709, allocations: 1.12 MB / 1.233 GB, free: 13.74 MB / 1.073 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.005373/0.7763, allocations: 5.135 MB / 1.238 GB, free: 8.461 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.7774, allocations: 0.7791 MB / 1.239 GB, free: 7.656 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.7778, allocations: 372.3 kB / 1.239 GB, free: 7.285 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003509/0.7813, allocations: 1.87 MB / 1.241 GB, free: 5.414 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007127/0.7821, allocations: 0.6715 MB / 1.242 GB, free: 4.672 MB / 1.073 GB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.7821, allocations: 0 / 1.242 GB, free: 4.672 MB / 1.073 GB Notification: Performance of matching and sorting (n=81): time 0.02748/0.8095, allocations: 18.72 MB / 1.26 GB, free: 1.91 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.8096, allocations: 166.9 kB / 1.26 GB, free: 1.711 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8115, allocations: 1.819 MB / 1.262 GB, free: 15.84 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.8116, allocations: 49.69 kB / 1.262 GB, free: 15.79 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.8122, allocations: 0.9335 MB / 1.263 GB, free: 14.85 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.8124, allocations: 297.4 kB / 1.263 GB, free: 14.55 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.8126, allocations: 214.8 kB / 1.263 GB, free: 14.34 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8127, allocations: 349.9 kB / 1.264 GB, free: 13.99 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.8133, allocations: 446.3 kB / 1.264 GB, free: 13.55 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.8141, allocations: 0.9791 MB / 1.265 GB, free: 12.38 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.8156, allocations: 1.259 MB / 1.266 GB, free: 10.98 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8156, allocations: 0 / 1.266 GB, free: 10.98 MB / 1.104 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002168/0.8178, allocations: 1.599 MB / 1.268 GB, free: 9.367 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8178, allocations: 14.66 kB / 1.268 GB, free: 9.355 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8178, allocations: 8 kB / 1.268 GB, free: 9.348 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.8182, allocations: 221.5 kB / 1.268 GB, free: 9.125 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.8188, allocations: 255.6 kB / 1.268 GB, free: 8.875 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.8217, allocations: 3.866 MB / 1.272 GB, free: 4.816 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.8226, allocations: 104 kB / 1.272 GB, free: 4.715 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.8227, allocations: 55.98 kB / 1.272 GB, free: 4.66 MB / 1.104 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.0006032/0.8233, allocations: 0.5521 MB / 1.273 GB, free: 4.098 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.8236, allocations: 194.7 kB / 1.273 GB, free: 3.906 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.8256, allocations: 1.5 MB / 1.274 GB, free: 2.398 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8256, allocations: 8 kB / 1.274 GB, free: 2.391 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8256, allocations: 4 kB / 1.274 GB, free: 2.387 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.8271, allocations: 1.277 MB / 1.276 GB, free: 1.039 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.8393, allocations: 7.997 MB / 1.283 GB, free: 8.922 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8393, allocations: 4 kB / 1.283 GB, free: 8.918 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.8397, allocations: 184.2 kB / 1.284 GB, free: 8.738 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.84, allocations: 150.2 kB / 1.284 GB, free: 8.59 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.84, allocations: 35.97 kB / 1.284 GB, free: 8.555 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.8418, allocations: 2.215 MB / 1.286 GB, free: 6.246 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.8418, allocations: 7.938 kB / 1.286 GB, free: 6.238 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.8443, allocations: 1.903 MB / 1.288 GB, free: 4.242 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.8448, allocations: 306.6 kB / 1.288 GB, free: 3.941 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8449, allocations: 27.98 kB / 1.288 GB, free: 3.914 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.8455, allocations: 83.92 kB / 1.288 GB, free: 3.832 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8456, allocations: 88.34 kB / 1.288 GB, free: 3.746 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.8456, allocations: 35.98 kB / 1.288 GB, free: 3.711 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.00125/0.8469, allocations: 1.274 MB / 1.289 GB, free: 2.414 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8469, allocations: 96 / 1.289 GB, free: 2.414 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003249/0.8501, allocations: 1.28 MB / 1.291 GB, free: 1.133 MB / 1.12 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.00359/0.8537, allocations: 1.233 MB / 1.292 GB, free: 72 kB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.8558, allocations: 1.325 MB / 1.293 GB, free: 14.72 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8558, allocations: 0 / 1.293 GB, free: 14.72 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.8566, allocations: 0.6363 MB / 1.294 GB, free: 14.07 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.8586, allocations: 0.992 MB / 1.295 GB, free: 13.11 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.863, allocations: 3.741 MB / 1.298 GB, free: 9.258 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.8637, allocations: 0.8944 MB / 1.299 GB, free: 8.324 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.864, allocations: 184.4 kB / 1.3 GB, free: 8.145 MB / 1.135 GB Notification: Performance of SimCode: time 1.142e-06/0.864, allocations: 0 / 1.3 GB, free: 8.145 MB / 1.135 GB Notification: Performance of Templates: time 0.06313/0.9272, allocations: 67.28 MB / 1.365 GB, free: 5.246 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:bui.Q_flow,bui.sta_a.p,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.p,bui.vol.sta_b.p,time [Calling sys.exit(0), Time elapsed: 14.738415596075356]