Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00155/0.00155, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.002059/0.002059, allocations: 169 kB / 24.27 MB, free: 280 kB / 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.9809/0.9809, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.832/1.832, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.08e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.761/2.761, allocations: 1.429 GB / 2.241 GB, free: 65.62 MB / 1.385 GB Notification: Performance of NFInst.instExpressions: time 0.3191/3.08, allocations: 346.5 MB / 2.579 GB, free: 13.7 MB / 1.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04487/3.125, allocations: 1.692 MB / 2.581 GB, free: 11.99 MB / 1.573 GB Notification: Performance of NFTyping.typeComponents: time 0.03519/3.16, allocations: 13.59 MB / 2.594 GB, free: 14.31 MB / 1.589 GB Notification: Performance of NFTyping.typeBindings: time 0.8868/4.047, allocations: 34.77 MB / 2.628 GB, free: 25.3 MB / 1.604 GB Notification: Performance of NFTyping.typeClassSections: time 0.03912/4.086, allocations: 20.92 MB / 2.649 GB, free: 25.23 MB / 1.604 GB Notification: Performance of NFFlatten.flatten: time 0.07219/4.158, allocations: 58.7 MB / 2.706 GB, free: 17.79 MB / 1.604 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03802/4.196, allocations: 17.36 MB / 2.723 GB, free: 32 MB / 1.62 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08021/4.277, allocations: 37.03 MB / 2.759 GB, free: 28.11 MB / 1.62 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03016/4.307, allocations: 16.33 MB / 2.775 GB, free: 25.52 MB / 1.62 GB Notification: Performance of NFPackage.collectConstants: time 0.007737/4.315, allocations: 2.129 MB / 2.777 GB, free: 25.52 MB / 1.62 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03479/4.349, allocations: 15.72 MB / 2.792 GB, free: 24.91 MB / 1.62 GB Notification: Performance of NFScalarize.scalarize: time 0.009453/4.359, allocations: 5.287 MB / 2.798 GB, free: 23.87 MB / 1.62 GB Notification: Performance of NFVerifyModel.verify: time 0.0219/4.381, allocations: 7.393 MB / 2.805 GB, free: 23 MB / 1.62 GB Notification: Performance of NFConvertDAE.convert: time 0.0612/4.442, allocations: 25.78 MB / 2.83 GB, free: 20.99 MB / 1.62 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/4.442, allocations: 0 / 2.83 GB, free: 20.99 MB / 1.62 GB Notification: Performance of FrontEnd: time 4.207e-06/4.442, allocations: 0 / 2.83 GB, free: 20.99 MB / 1.62 GB Notification: Performance of Transformations before backend: time 0.001053/4.443, allocations: 0 / 2.83 GB, free: 20.99 MB / 1.62 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.0371/4.48, allocations: 21.75 MB / 2.851 GB, free: 11.68 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/4.48, allocations: 9.406 kB / 2.851 GB, free: 11.68 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00895/4.489, allocations: 3.464 MB / 2.855 GB, free: 10.41 MB / 1.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03046/4.52, allocations: 19.9 MB / 2.874 GB, free: 7.191 MB / 1.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007384/4.52, allocations: 0.9756 MB / 2.875 GB, free: 7.164 MB / 1.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/4.523, allocations: 1.331 MB / 2.876 GB, free: 7.16 MB / 1.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/4.548, allocations: 12.87 MB / 2.889 GB, free: 0.9102 MB / 1.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004716/4.548, allocations: 50.53 kB / 2.889 GB, free: 0.9062 MB / 1.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002191/4.55, allocations: 0.5359 MB / 2.889 GB, free: 0.9023 MB / 1.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/4.551, allocations: 344.7 kB / 2.89 GB, free: 0.9023 MB / 1.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/4.562, allocations: 4.496 MB / 2.894 GB, free: 0.7695 MB / 1.62 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.06737/4.629, allocations: 66.6 MB / 2.959 GB, free: 15.76 MB / 1.682 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/4.633, allocations: 2.631 MB / 2.962 GB, free: 14.09 MB / 1.682 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/4.636, allocations: 1.142 MB / 2.963 GB, free: 13.42 MB / 1.682 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04263/4.678, allocations: 22.93 MB / 2.985 GB, free: 7.227 MB / 1.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/4.678, allocations: 123.6 kB / 2.985 GB, free: 7.109 MB / 1.698 GB Notification: Performance of pre-optimization done (n=412): time 5.601e-06/4.678, allocations: 4 kB / 2.985 GB, free: 7.105 MB / 1.698 GB Notification: Performance of matching and sorting (n=412): time 0.01148/4.69, allocations: 3.995 MB / 2.989 GB, free: 3.176 MB / 1.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/4.69, allocations: 0.7864 MB / 2.99 GB, free: 2.219 MB / 1.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01729/4.707, allocations: 10.04 MB / 3 GB, free: 8.27 MB / 1.714 GB Notification: Performance of collectPreVariables (initialization): time 0.001475/4.709, allocations: 141.7 kB / 3 GB, free: 8.125 MB / 1.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.007209/4.716, allocations: 8.895 MB / 3.009 GB, free: 15.21 MB / 1.729 GB Notification: Performance of collectInitialBindings (initialization): time 0.002301/4.718, allocations: 1.544 MB / 3.01 GB, free: 13.69 MB / 1.729 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/4.721, allocations: 1.511 MB / 3.012 GB, free: 12.16 MB / 1.729 GB Notification: Performance of setup shared object (initialization): time 0.0001363/4.721, allocations: 476.8 kB / 3.012 GB, free: 11.7 MB / 1.729 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/4.722, allocations: 0.7309 MB / 3.013 GB, free: 10.96 MB / 1.729 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006027/4.728, allocations: 9.446 MB / 3.022 GB, free: 14.6 MB / 1.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/4.735, allocations: 5.661 MB / 3.028 GB, free: 7.707 MB / 1.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.781e-05/4.735, allocations: 28 kB / 3.028 GB, free: 7.68 MB / 1.745 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01179/4.746, allocations: 5.706 MB / 3.033 GB, free: 2.516 MB / 1.745 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/4.747, allocations: 40 kB / 3.033 GB, free: 2.477 MB / 1.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-05/4.747, allocations: 84.88 kB / 3.033 GB, free: 2.395 MB / 1.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/4.747, allocations: 123.9 kB / 3.033 GB, free: 2.273 MB / 1.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/4.75, allocations: 1.448 MB / 3.035 GB, free: 0.9375 MB / 1.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001326/4.75, allocations: 171.8 kB / 3.035 GB, free: 0.8047 MB / 1.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/4.756, allocations: 0.7538 MB / 3.036 GB, free: 52 kB / 1.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/4.757, allocations: 392.5 kB / 3.036 GB, free: 15.67 MB / 1.76 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 382 * 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 (832): * Single equations (assignments): 832 * 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.004211/4.761, allocations: 0.6733 MB / 3.037 GB, free: 15.09 MB / 1.76 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004848/4.766, allocations: 1.476 MB / 3.038 GB, free: 13.61 MB / 1.76 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/4.776, allocations: 4.702 MB / 3.043 GB, free: 9.082 MB / 1.76 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/4.777, allocations: 87.94 kB / 3.043 GB, free: 8.996 MB / 1.76 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/4.777, allocations: 8 kB / 3.043 GB, free: 8.988 MB / 1.76 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002131/4.779, allocations: 2.502 MB / 3.045 GB, free: 6.191 MB / 1.76 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0386/4.817, allocations: 18.92 MB / 3.064 GB, free: 3.047 MB / 1.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/4.817, allocations: 32 kB / 3.064 GB, free: 3.016 MB / 1.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/4.819, allocations: 0.7722 MB / 3.065 GB, free: 2.293 MB / 1.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-05/4.819, allocations: 48 kB / 3.065 GB, free: 2.246 MB / 1.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/4.819, allocations: 163.9 kB / 3.065 GB, free: 2.086 MB / 1.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-05/4.819, allocations: 74.12 kB / 3.065 GB, free: 2.027 MB / 1.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-05/4.82, allocations: 48.38 kB / 3.065 GB, free: 1.992 MB / 1.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/4.831, allocations: 8.616 MB / 3.073 GB, free: 8.695 MB / 1.792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005342/4.836, allocations: 2.244 MB / 3.075 GB, free: 6.441 MB / 1.792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/4.839, allocations: 163.6 kB / 3.076 GB, free: 6.281 MB / 1.792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004975/4.844, allocations: 171.8 kB / 3.076 GB, free: 6.113 MB / 1.792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005606/4.844, allocations: 414.1 kB / 3.076 GB, free: 5.734 MB / 1.792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000518/4.845, allocations: 259.8 kB / 3.076 GB, free: 5.48 MB / 1.792 GB Notification: Performance of sorting global known variables: time 0.01143/4.856, allocations: 5.816 MB / 3.082 GB, free: 15.75 MB / 1.807 GB Notification: Performance of sort global known variables: time 4.81e-07/4.856, allocations: 0 / 3.082 GB, free: 15.75 MB / 1.807 GB Notification: Performance of remove unused functions: time 0.01694/4.873, allocations: 5.882 MB / 3.088 GB, free: 9.852 MB / 1.807 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.01054/4.884, allocations: 4.643 MB / 3.092 GB, free: 5.664 MB / 1.807 GB Notification: Performance of simCode: created initialization part: time 0.006907/4.891, allocations: 3.264 MB / 3.096 GB, free: 2.715 MB / 1.807 GB Notification: Performance of simCode: created event and clocks part: time 2.999e-05/4.891, allocations: 15.97 kB / 3.096 GB, free: 2.699 MB / 1.807 GB Notification: Performance of simCode: created simulation system equations: time 0.002679/4.893, allocations: 1.521 MB / 3.097 GB, free: 1.328 MB / 1.807 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02092/4.914, allocations: 6.038 MB / 3.103 GB, free: 11.55 MB / 1.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/4.956, allocations: 25.52 MB / 3.128 GB, free: 1.363 MB / 1.839 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005651/4.961, allocations: 2.973 MB / 3.131 GB, free: 14.36 MB / 1.854 GB Notification: Performance of simCode: alias equations: time 0.0106/4.972, allocations: 2.452 MB / 3.133 GB, free: 11.99 MB / 1.854 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/4.975, allocations: 0.8352 MB / 3.134 GB, free: 11.16 MB / 1.854 GB Notification: Performance of SimCode: time 2.465e-06/4.975, allocations: 0 / 3.134 GB, free: 11.16 MB / 1.854 GB Notification: Performance of Templates: time 0.656/5.631, allocations: 261 MB / 3.389 GB, free: 1.226 GB / 2.042 GB " [Timeout remaining time 294] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.968856991035864]