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.001946/0.001946, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002104/0.002104, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 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 3.425/3.425, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.483e-06/1.483e-06, allocations: 0 / 0.8774 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.316e-05, allocations: 3.562 kB / 0.8774 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7717/0.7717, allocations: 187.3 MB / 1.06 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02975/0.8014, allocations: 26.47 MB / 1.086 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.8046, allocations: 83.45 kB / 1.086 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.8105, allocations: 2.015 MB / 1.088 GB, free: 47.15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.8226, allocations: 4.652 MB / 1.093 GB, free: 46.91 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.8288, allocations: 2.61 MB / 1.095 GB, free: 46.83 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.8421, allocations: 8.541 MB / 1.104 GB, free: 45.92 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.8449, allocations: 1.274 MB / 1.105 GB, free: 45.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009831/0.8547, allocations: 3.658 MB / 1.108 GB, free: 45.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003471/0.8582, allocations: 1.259 MB / 1.11 GB, free: 45.27 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005896/0.8588, allocations: 189.9 kB / 1.11 GB, free: 45.27 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.8695, allocations: 3.953 MB / 1.114 GB, free: 45.14 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.8708, allocations: 0.683 MB / 1.114 GB, free: 45.03 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.8726, allocations: 0.7727 MB / 1.115 GB, free: 44.93 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.8881, allocations: 5.844 MB / 1.121 GB, free: 44.55 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.8881, allocations: 0.9375 kB / 1.121 GB, free: 44.55 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8881, allocations: 1.125 kB / 1.121 GB, free: 44.55 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001282/0.8882, allocations: 0.9375 kB / 1.121 GB, free: 44.55 MB / 1.01 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.01241/0.9006, allocations: 3.134 MB / 1.124 GB, free: 43.06 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.9007, allocations: 10.58 kB / 1.124 GB, free: 43.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.9054, allocations: 0.7425 MB / 1.125 GB, free: 42.87 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.9112, allocations: 2.584 MB / 1.127 GB, free: 42.29 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.9113, allocations: 86.38 kB / 1.127 GB, free: 42.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.9115, allocations: 114.5 kB / 1.127 GB, free: 42.22 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.9143, allocations: 1.64 MB / 1.129 GB, free: 41.23 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.9143, allocations: 4.25 kB / 1.129 GB, free: 41.23 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.9144, allocations: 46.98 kB / 1.129 GB, free: 41.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.9145, allocations: 26.53 kB / 1.129 GB, free: 41.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.9167, allocations: 1.008 MB / 1.13 GB, free: 40.88 MB / 1.01 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.01012/0.9268, allocations: 7.653 MB / 1.138 GB, free: 35.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.9285, allocations: 0.7398 MB / 1.138 GB, free: 35.46 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.9291, allocations: 338.3 kB / 1.139 GB, free: 35.33 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007447/0.9366, allocations: 1.873 MB / 1.14 GB, free: 35.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.9378, allocations: 0.6969 MB / 1.141 GB, free: 34.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=67): time 2.595e-06/0.9378, allocations: 3.938 kB / 1.141 GB, free: 34.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=81): time 0.0469/0.9847, allocations: 11.81 MB / 1.153 GB, free: 31.15 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.9847, allocations: 167.6 kB / 1.153 GB, free: 30.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.988, allocations: 2.265 MB / 1.155 GB, free: 29.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.9881, allocations: 43.58 kB / 1.155 GB, free: 29.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.9891, allocations: 1.203 MB / 1.156 GB, free: 28.99 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/0.9895, allocations: 329.8 kB / 1.157 GB, free: 28.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.9899, allocations: 287.3 kB / 1.157 GB, free: 28.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9901, allocations: 0.5753 MB / 1.157 GB, free: 28.08 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.9909, allocations: 393.7 kB / 1.158 GB, free: 27.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.992, allocations: 1.114 MB / 1.159 GB, free: 26.96 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.9939, allocations: 1.34 MB / 1.16 GB, free: 26.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.9939, allocations: 2.719 kB / 1.16 GB, free: 26.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003807/0.9977, allocations: 1.571 MB / 1.162 GB, free: 25.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9977, allocations: 12.19 kB / 1.162 GB, free: 25.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.9977, allocations: 9.438 kB / 1.162 GB, free: 25.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.9986, allocations: 256.9 kB / 1.162 GB, free: 25.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.9995, allocations: 234.8 kB / 1.162 GB, free: 25.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/1.004, allocations: 5.076 MB / 1.167 GB, free: 20.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.006, allocations: 85.86 kB / 1.167 GB, free: 20.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.006, allocations: 59.09 kB / 1.167 GB, free: 20.76 MB / 1.01 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.0009587/1.007, allocations: 411.4 kB / 1.168 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007936/1.007, allocations: 260.6 kB / 1.168 GB, free: 20.31 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/1.011, allocations: 1.478 MB / 1.169 GB, free: 19.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.011, allocations: 16.08 kB / 1.169 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.011, allocations: 4 kB / 1.169 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/1.013, allocations: 1.206 MB / 1.171 GB, free: 19.03 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/1.038, allocations: 8.832 MB / 1.179 GB, free: 16.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.038, allocations: 6.219 kB / 1.179 GB, free: 16.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/1.039, allocations: 164.7 kB / 1.179 GB, free: 16.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/1.039, allocations: 175.4 kB / 1.179 GB, free: 16.33 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/1.039, allocations: 29.58 kB / 1.18 GB, free: 16.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/1.042, allocations: 2.784 MB / 1.182 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.042, allocations: 13.03 kB / 1.182 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/1.046, allocations: 1.939 MB / 1.184 GB, free: 12.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.047, allocations: 311.4 kB / 1.184 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/1.047, allocations: 25.81 kB / 1.184 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.048, allocations: 56.42 kB / 1.185 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.048, allocations: 79.67 kB / 1.185 GB, free: 12.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/1.049, allocations: 38.38 kB / 1.185 GB, free: 12.57 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001977/1.051, allocations: 1.25 MB / 1.186 GB, free: 12.04 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.21e-07/1.051, allocations: 3.406 kB / 1.186 GB, free: 12.04 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006434/1.057, allocations: 1.293 MB / 1.187 GB, free: 11.91 MB / 1.01 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.01007/1.067, allocations: 1.222 MB / 1.188 GB, free: 11.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00331/1.07, allocations: 1.459 MB / 1.19 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.07, allocations: 0 / 1.19 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.072, allocations: 0.6865 MB / 1.19 GB, free: 10.55 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/1.076, allocations: 1.044 MB / 1.191 GB, free: 10.22 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/1.082, allocations: 3.459 MB / 1.195 GB, free: 8.148 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008629/1.083, allocations: 0.8859 MB / 1.196 GB, free: 7.879 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001921/1.085, allocations: 375.4 kB / 1.196 GB, free: 7.742 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/1.086, allocations: 168.3 kB / 1.196 GB, free: 7.719 MB / 1.01 GB Notification: Performance of SimCode: time 1.974e-06/1.086, allocations: 0 / 1.196 GB, free: 7.719 MB / 1.01 GB Notification: Performance of Templates: time 0.1309/1.217, allocations: 73.37 MB / 1.268 GB, free: 11.42 MB / 1.073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] 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.8090297189774]