Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.001941/0.001941, allocations: 79.03 kB / 19.18 MB, free: 2.527 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.003004/0.003004, allocations: 170.4 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.873/2.873, allocations: 389 MB / 0.633 GB, free: 1.023 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.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.942e-05/5.318e-05, allocations: 5.797 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.808/2.808, allocations: 1.249 GB / 2.249 GB, free: 13.36 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.455/4.264, allocations: 310.5 MB / 2.552 GB, free: 84.62 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05168/4.315, allocations: 1.644 MB / 2.554 GB, free: 84.62 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.03929/4.355, allocations: 13.59 MB / 2.567 GB, free: 83.5 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 0.09415/4.449, allocations: 34.6 MB / 2.601 GB, free: 72.77 MB / 1.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.05156/4.5, allocations: 20.91 MB / 2.621 GB, free: 59.33 MB / 1.701 GB Notification: Performance of NFFlatten.flatten: time 0.07303/4.573, allocations: 57.82 MB / 2.678 GB, free: 25.7 MB / 1.701 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04005/4.613, allocations: 16.08 MB / 2.693 GB, free: 14.75 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09957/4.713, allocations: 36.5 MB / 2.729 GB, free: 2.07 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04246/4.755, allocations: 15.95 MB / 2.745 GB, free: 3.543 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.01086/4.766, allocations: 2.129 MB / 2.747 GB, free: 1.414 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04937/4.816, allocations: 15.73 MB / 2.762 GB, free: 2.469 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.009702/4.825, allocations: 5.224 MB / 2.767 GB, free: 13.57 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.02394/4.849, allocations: 7.318 MB / 2.774 GB, free: 6.527 MB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.08986/4.939, allocations: 42.32 MB / 2.816 GB, free: 13.91 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/4.939, allocations: 4 kB / 2.816 GB, free: 13.91 MB / 1.811 GB Notification: Performance of FrontEnd: time 1.402e-06/4.939, allocations: 4 kB / 2.816 GB, free: 13.91 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.001214/4.94, allocations: 3 kB / 2.816 GB, free: 13.91 MB / 1.811 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.06742/5.008, allocations: 21.12 MB / 2.836 GB, free: 8.988 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/5.008, allocations: 12.03 kB / 2.836 GB, free: 8.977 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/5.019, allocations: 2.348 MB / 2.838 GB, free: 6.617 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04646/5.065, allocations: 18.63 MB / 2.857 GB, free: 4.602 MB / 1.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/5.066, allocations: 0.9679 MB / 2.858 GB, free: 3.633 MB / 1.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004309/5.071, allocations: 1.291 MB / 2.859 GB, free: 2.344 MB / 1.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04376/5.114, allocations: 17.06 MB / 2.876 GB, free: 28 kB / 1.857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006742/5.115, allocations: 40.3 kB / 2.876 GB, free: 8 kB / 1.857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/5.119, allocations: 0.5399 MB / 2.876 GB, free: 15.48 MB / 1.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/5.119, allocations: 346.7 kB / 2.876 GB, free: 15.15 MB / 1.873 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/5.145, allocations: 10.09 MB / 2.886 GB, free: 5.301 MB / 1.873 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.09892/5.244, allocations: 56.77 MB / 2.942 GB, free: 12.67 MB / 1.936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/5.253, allocations: 4.351 MB / 2.946 GB, free: 8.137 MB / 1.936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004082/5.257, allocations: 2.277 MB / 2.948 GB, free: 5.789 MB / 1.936 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08513/5.342, allocations: 22.89 MB / 2.971 GB, free: 14.93 MB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/5.342, allocations: 120.2 kB / 2.971 GB, free: 14.81 MB / 1.967 GB Notification: Performance of pre-optimization done (n=412): time 2.325e-05/5.342, allocations: 0 / 2.971 GB, free: 14.81 MB / 1.967 GB Notification: Performance of matching and sorting (n=412): time 0.01941/5.362, allocations: 6.667 MB / 2.977 GB, free: 8.199 MB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005703/5.362, allocations: 0.791 MB / 2.978 GB, free: 7.238 MB / 1.967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03178/5.394, allocations: 11.83 MB / 2.989 GB, free: 11.49 MB / 1.982 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/5.395, allocations: 141.7 kB / 2.99 GB, free: 11.34 MB / 1.982 GB Notification: Performance of collectInitialEqns (initialization): time 0.01198/5.407, allocations: 8.647 MB / 2.998 GB, free: 2.684 MB / 1.982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00289/5.41, allocations: 1.508 MB / 3 GB, free: 1.195 MB / 1.982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005278/5.416, allocations: 1.481 MB / 3.001 GB, free: 15.71 MB / 1.998 GB Notification: Performance of setup shared object (initialization): time 0.0001502/5.416, allocations: 309.1 kB / 3.001 GB, free: 15.4 MB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005278/5.421, allocations: 2.086 MB / 3.003 GB, free: 13.31 MB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/5.434, allocations: 9.607 MB / 3.013 GB, free: 1.352 MB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/5.446, allocations: 7.141 MB / 3.02 GB, free: 9.449 MB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/5.446, allocations: 24 kB / 3.02 GB, free: 9.426 MB / 2.014 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02729/5.473, allocations: 8.036 MB / 3.028 GB, free: 1.879 MB / 2.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/5.474, allocations: 40 kB / 3.028 GB, free: 1.84 MB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/5.474, allocations: 84 kB / 3.028 GB, free: 1.758 MB / 2.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/5.474, allocations: 120 kB / 3.028 GB, free: 1.641 MB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009062/5.483, allocations: 1.458 MB / 3.029 GB, free: 300 kB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003626/5.484, allocations: 171.2 kB / 3.029 GB, free: 164 kB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/5.5, allocations: 0.783 MB / 3.03 GB, free: 15.38 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002624/5.503, allocations: 399.8 kB / 3.031 GB, free: 14.98 MB / 2.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0161/5.519, allocations: 3.566 MB / 3.034 GB, free: 11.52 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008522/5.527, allocations: 1.326 MB / 3.035 GB, free: 10.19 MB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03239/5.56, allocations: 7.444 MB / 3.043 GB, free: 2.906 MB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003293/5.56, allocations: 83.94 kB / 3.043 GB, free: 2.824 MB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-05/5.56, allocations: 11.94 kB / 3.043 GB, free: 2.812 MB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01122/5.571, allocations: 3.889 MB / 3.046 GB, free: 14.62 MB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09221/5.664, allocations: 25.34 MB / 3.071 GB, free: 5.219 MB / 2.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001644/5.664, allocations: 32.22 kB / 3.071 GB, free: 5.188 MB / 2.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006262/5.67, allocations: 0.78 MB / 3.072 GB, free: 4.461 MB / 2.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/5.67, allocations: 48 kB / 3.072 GB, free: 4.414 MB / 2.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009246/5.671, allocations: 159.9 kB / 3.072 GB, free: 4.258 MB / 2.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001239/5.671, allocations: 67.7 kB / 3.072 GB, free: 4.203 MB / 2.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.329e-05/5.671, allocations: 50.34 kB / 3.072 GB, free: 4.168 MB / 2.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/5.707, allocations: 11.67 MB / 3.084 GB, free: 7.957 MB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006978/5.714, allocations: 2.217 MB / 3.086 GB, free: 5.73 MB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003332/5.717, allocations: 158.2 kB / 3.086 GB, free: 5.578 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007083/5.724, allocations: 183.8 kB / 3.086 GB, free: 5.398 MB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000969/5.725, allocations: 413.2 kB / 3.087 GB, free: 5.02 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001069/5.727, allocations: 259.8 kB / 3.087 GB, free: 4.766 MB / 2.076 GB Notification: Performance of sorting global known variables: time 0.5832/6.31, allocations: 7.989 MB / 3.095 GB, free: 1.08 GB / 2.076 GB Notification: Performance of sort global known variables: time 2.11e-07/6.31, allocations: 0 / 3.095 GB, free: 1.08 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.01863/6.328, allocations: 5.874 MB / 3.1 GB, free: 1.08 GB / 2.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01086/6.339, allocations: 4.639 MB / 3.105 GB, free: 1.08 GB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.00903/6.348, allocations: 5.517 MB / 3.11 GB, free: 1.079 GB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 4.16e-05/6.348, allocations: 9.375 kB / 3.11 GB, free: 1.079 GB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004097/6.352, allocations: 2.475 MB / 3.113 GB, free: 1.078 GB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02824/6.381, allocations: 5.492 MB / 3.118 GB, free: 1.076 GB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04708/6.428, allocations: 27.49 MB / 3.145 GB, free: 1.063 GB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01676/6.444, allocations: 7.474 MB / 3.152 GB, free: 1.062 GB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01249/6.457, allocations: 2.532 MB / 3.155 GB, free: 1.061 GB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/6.46, allocations: 0.8313 MB / 3.156 GB, free: 1.061 GB / 2.076 GB Notification: Performance of SimCode: time 1.483e-06/6.46, allocations: 0 / 3.156 GB, free: 1.061 GB / 2.076 GB Notification: Performance of Templates: time 0.3601/6.82, allocations: 252.6 MB / 3.402 GB, free: 0.8587 GB / 2.076 GB " [Timeout remaining time 293] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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: 24.59635090455413]