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.001395/0.001395, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001523/0.001523, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 2.92/2.92, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.036e-06/3.036e-06, allocations: 0 / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.91e-05, allocations: 2.281 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 1.053/1.053, allocations: 168.8 MB / 1.165 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03453/1.087, allocations: 24.09 MB / 1.188 GB, free: 44.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/1.091, allocations: 82.34 kB / 1.189 GB, free: 44.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007301/1.098, allocations: 2.014 MB / 1.19 GB, free: 44.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01727/1.116, allocations: 4.644 MB / 1.195 GB, free: 43.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008791/1.125, allocations: 2.607 MB / 1.198 GB, free: 42.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01699/1.142, allocations: 8.503 MB / 1.206 GB, free: 39.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/1.145, allocations: 1.222 MB / 1.207 GB, free: 39.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/1.157, allocations: 3.653 MB / 1.211 GB, free: 37.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/1.161, allocations: 1.232 MB / 1.212 GB, free: 37.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008437/1.162, allocations: 191.4 kB / 1.212 GB, free: 37.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/1.175, allocations: 3.956 MB / 1.216 GB, free: 36.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/1.177, allocations: 0.6791 MB / 1.217 GB, free: 36.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/1.18, allocations: 0.7651 MB / 1.217 GB, free: 35.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01635/1.196, allocations: 5.825 MB / 1.223 GB, free: 34.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.196, allocations: 0 / 1.223 GB, free: 34.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.196, allocations: 1.312 kB / 1.223 GB, free: 34.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.012e-05/1.196, allocations: 0 / 1.223 GB, free: 34.24 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.008992/1.205, allocations: 2.747 MB / 1.226 GB, free: 32.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.205, allocations: 9.031 kB / 1.226 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/1.21, allocations: 0.6684 MB / 1.226 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/1.216, allocations: 3.009 MB / 1.229 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/1.216, allocations: 84.03 kB / 1.229 GB, free: 30.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/1.216, allocations: 113.4 kB / 1.229 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/1.219, allocations: 1.562 MB / 1.231 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/1.219, allocations: 1.562 kB / 1.231 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.219, allocations: 50.88 kB / 1.231 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.22, allocations: 26.78 kB / 1.231 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/1.222, allocations: 1.117 MB / 1.232 GB, free: 29.33 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.009304/1.232, allocations: 5.14 MB / 1.237 GB, free: 25.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/1.234, allocations: 0.7889 MB / 1.238 GB, free: 25.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009284/1.235, allocations: 361.5 kB / 1.238 GB, free: 25.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008578/1.243, allocations: 1.87 MB / 1.24 GB, free: 25.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/1.245, allocations: 0.6701 MB / 1.241 GB, free: 24.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=67): time 4.108e-06/1.245, allocations: 4 kB / 1.241 GB, free: 24.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.05489/1.3, allocations: 18.72 MB / 1.259 GB, free: 21.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.3, allocations: 162.5 kB / 1.259 GB, free: 21.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.303, allocations: 1.823 MB / 1.261 GB, free: 20.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/1.303, allocations: 47.11 kB / 1.261 GB, free: 20.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/1.304, allocations: 0.925 MB / 1.262 GB, free: 19.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/1.304, allocations: 295.4 kB / 1.262 GB, free: 19.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.304, allocations: 224.4 kB / 1.262 GB, free: 19.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/1.305, allocations: 342.8 kB / 1.263 GB, free: 18.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/1.306, allocations: 450.4 kB / 1.263 GB, free: 18.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/1.307, allocations: 0.9792 MB / 1.264 GB, free: 17.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.309, allocations: 1.251 MB / 1.265 GB, free: 17.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.309, allocations: 1.969 kB / 1.265 GB, free: 17.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004271/1.313, allocations: 1.594 MB / 1.267 GB, free: 16.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.313, allocations: 12.84 kB / 1.267 GB, free: 16.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.313, allocations: 13.47 kB / 1.267 GB, free: 16.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/1.314, allocations: 220.2 kB / 1.267 GB, free: 16.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.315, allocations: 254.8 kB / 1.267 GB, free: 16.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/1.32, allocations: 3.881 MB / 1.271 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.322, allocations: 101.6 kB / 1.271 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.322, allocations: 62.11 kB / 1.271 GB, free: 13.07 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.001139/1.323, allocations: 0.5505 MB / 1.272 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009976/1.324, allocations: 200.9 kB / 1.272 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/1.328, allocations: 1.502 MB / 1.274 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.328, allocations: 14.09 kB / 1.274 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.328, allocations: 2.719 kB / 1.274 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/1.331, allocations: 1.265 MB / 1.275 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.356, allocations: 7.997 MB / 1.283 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.356, allocations: 5.906 kB / 1.283 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/1.357, allocations: 185.2 kB / 1.283 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/1.357, allocations: 158.8 kB / 1.283 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.868e-05/1.357, allocations: 31.05 kB / 1.283 GB, free: 7.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/1.36, allocations: 2.209 MB / 1.285 GB, free: 5.473 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.36, allocations: 7.844 kB / 1.285 GB, free: 5.473 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/1.364, allocations: 1.898 MB / 1.287 GB, free: 4.309 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.366, allocations: 315.9 kB / 1.287 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/1.366, allocations: 30.03 kB / 1.287 GB, free: 4.055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.367, allocations: 87.7 kB / 1.287 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.367, allocations: 82.12 kB / 1.287 GB, free: 3.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/1.368, allocations: 35.98 kB / 1.287 GB, free: 3.922 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001895/1.369, allocations: 1.274 MB / 1.289 GB, free: 2.625 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.369, allocations: 0 / 1.289 GB, free: 2.625 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.007387/1.377, allocations: 1.28 MB / 1.29 GB, free: 1.344 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.01124/1.388, allocations: 1.233 MB / 1.291 GB, free: 352 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004259/1.392, allocations: 1.337 MB / 1.292 GB, free: 15.03 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.392, allocations: 0 / 1.292 GB, free: 15.03 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/1.394, allocations: 0.6222 MB / 1.293 GB, free: 14.42 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/1.4, allocations: 0.9865 MB / 1.294 GB, free: 13.46 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/1.409, allocations: 3.654 MB / 1.298 GB, free: 9.727 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.41, allocations: 0.9022 MB / 1.299 GB, free: 8.789 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002291/1.412, allocations: 402.3 kB / 1.299 GB, free: 8.395 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/1.413, allocations: 168.4 kB / 1.299 GB, free: 8.227 MB / 1.092 GB Notification: Performance of SimCode: time 1.573e-06/1.413, allocations: 8 kB / 1.299 GB, free: 8.219 MB / 1.092 GB Notification: Performance of Templates: time 0.138/1.551, allocations: 71.35 MB / 1.369 GB, free: 1.887 MB / 1.154 GB " [Timeout remaining time 298] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 14.772066563367844]