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.001936/0.001936, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002071/0.002071, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 3.139/3.139, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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 2.013e-06/2.013e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.737e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2738/0.2739, allocations: 187.3 MB / 0.9937 GB, free: 6.207 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.04654/0.3204, allocations: 26.48 MB / 1.02 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.324, allocations: 83.31 kB / 1.02 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00723/0.3313, allocations: 2.018 MB / 1.022 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/0.3465, allocations: 4.65 MB / 1.026 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.007656/0.3541, allocations: 2.6 MB / 1.029 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.37, allocations: 8.552 MB / 1.037 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.3732, allocations: 1.31 MB / 1.038 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01031/0.3835, allocations: 3.664 MB / 1.042 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.387, allocations: 1.255 MB / 1.043 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.3875, allocations: 192 kB / 1.043 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6307/1.018, allocations: 3.943 MB / 1.047 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00232/1.021, allocations: 0.6859 MB / 1.048 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004666/1.025, allocations: 0.7676 MB / 1.049 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/1.04, allocations: 5.841 MB / 1.054 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.04, allocations: 0.875 kB / 1.054 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.863e-06/1.04, allocations: 2.969 kB / 1.054 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001003/1.04, allocations: 0 / 1.054 GB, free: 64.28 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.007138/1.047, allocations: 3.141 MB / 1.057 GB, free: 62.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.047, allocations: 9.375 kB / 1.057 GB, free: 62.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/1.052, allocations: 0.7379 MB / 1.058 GB, free: 62.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/1.057, allocations: 2.602 MB / 1.061 GB, free: 62.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/1.057, allocations: 81.91 kB / 1.061 GB, free: 62.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.057, allocations: 113.8 kB / 1.061 GB, free: 62.14 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.059, allocations: 1.64 MB / 1.062 GB, free: 61.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/1.059, allocations: 3.906 kB / 1.062 GB, free: 61.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.06, allocations: 45.78 kB / 1.062 GB, free: 61.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/1.06, allocations: 29.22 kB / 1.063 GB, free: 61.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/1.062, allocations: 1.003 MB / 1.063 GB, free: 61.56 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.01009/1.072, allocations: 7.655 MB / 1.071 GB, free: 58.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.073, allocations: 0.7323 MB / 1.072 GB, free: 58.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/1.074, allocations: 340.1 kB / 1.072 GB, free: 58.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007023/1.081, allocations: 1.875 MB / 1.074 GB, free: 58.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/1.082, allocations: 0.6953 MB / 1.075 GB, free: 57.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=67): time 2.354e-06/1.082, allocations: 0 / 1.075 GB, free: 57.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.04903/1.131, allocations: 11.8 MB / 1.086 GB, free: 55.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/1.131, allocations: 172.1 kB / 1.086 GB, free: 55.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/1.135, allocations: 2.287 MB / 1.088 GB, free: 54.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.136, allocations: 44.92 kB / 1.088 GB, free: 54.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.137, allocations: 1.183 MB / 1.09 GB, free: 54.39 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/1.137, allocations: 330.6 kB / 1.09 GB, free: 54.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/1.138, allocations: 289.2 kB / 1.09 GB, free: 54.17 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.138, allocations: 0.5736 MB / 1.091 GB, free: 53.69 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000977/1.139, allocations: 391.1 kB / 1.091 GB, free: 53.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.14, allocations: 1.112 MB / 1.092 GB, free: 52.86 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.143, allocations: 1.34 MB / 1.094 GB, free: 52.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.143, allocations: 3.031 kB / 1.094 GB, free: 52.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004352/1.147, allocations: 1.58 MB / 1.095 GB, free: 52.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.147, allocations: 10.69 kB / 1.095 GB, free: 52.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/1.147, allocations: 10.83 kB / 1.095 GB, free: 52.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.148, allocations: 253.6 kB / 1.095 GB, free: 52.01 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.149, allocations: 236.6 kB / 1.096 GB, free: 52.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/1.154, allocations: 5.075 MB / 1.101 GB, free: 48.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.156, allocations: 76.77 kB / 1.101 GB, free: 48.08 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.156, allocations: 61.31 kB / 1.101 GB, free: 48.08 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.001033/1.157, allocations: 414.8 kB / 1.101 GB, free: 47.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009819/1.158, allocations: 254.6 kB / 1.101 GB, free: 47.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/1.162, allocations: 1.485 MB / 1.103 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.162, allocations: 8.562 kB / 1.103 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.162, allocations: 2.234 kB / 1.103 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002397/1.165, allocations: 1.202 MB / 1.104 GB, free: 47.17 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/1.191, allocations: 8.805 MB / 1.113 GB, free: 45.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.191, allocations: 2.562 kB / 1.113 GB, free: 45.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/1.192, allocations: 173 kB / 1.113 GB, free: 45.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006563/1.193, allocations: 181.3 kB / 1.113 GB, free: 45.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/1.193, allocations: 25.27 kB / 1.113 GB, free: 45.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/1.196, allocations: 2.786 MB / 1.116 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.196, allocations: 14.42 kB / 1.116 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/1.199, allocations: 1.939 MB / 1.118 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.2, allocations: 299.8 kB / 1.118 GB, free: 43.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/1.201, allocations: 27.2 kB / 1.118 GB, free: 43.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.202, allocations: 63.98 kB / 1.118 GB, free: 43.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.202, allocations: 76.45 kB / 1.118 GB, free: 43.08 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/1.202, allocations: 36.91 kB / 1.118 GB, free: 43.08 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001945/1.204, allocations: 1.257 MB / 1.119 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/1.204, allocations: 0 / 1.119 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005087/1.209, allocations: 1.288 MB / 1.121 GB, free: 42.82 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.008643/1.218, allocations: 1.241 MB / 1.122 GB, free: 42.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003359/1.221, allocations: 1.45 MB / 1.123 GB, free: 42.13 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.221, allocations: 4.656 kB / 1.123 GB, free: 42.13 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.222, allocations: 0.6842 MB / 1.124 GB, free: 41.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/1.227, allocations: 1.049 MB / 1.125 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/1.233, allocations: 3.457 MB / 1.128 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/1.234, allocations: 0.891 MB / 1.129 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001801/1.236, allocations: 376.7 kB / 1.129 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/1.236, allocations: 168.2 kB / 1.13 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of SimCode: time 2.796e-06/1.236, allocations: 0 / 1.13 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.1052/1.342, allocations: 73.44 MB / 1.201 GB, free: 10.89 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 240] 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.304389000986703]