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.001543/0.001543, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001513/0.001513, allocations: 209.1 kB / 22.99 MB, free: 4.957 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.373/3.373, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 69.64 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3878, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.09/3.478, allocations: 1.261 GB / 2.588 GB, free: 125.7 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.3994/3.878, allocations: 312.5 MB / 2.893 GB, free: 13.24 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05018/3.928, allocations: 1.692 MB / 2.895 GB, free: 11.53 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.0416/3.969, allocations: 13.45 MB / 2.908 GB, free: 14 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.1053/4.075, allocations: 33.97 MB / 2.941 GB, free: 11.91 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05928/4.134, allocations: 20.43 MB / 2.961 GB, free: 7.598 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.1006/4.235, allocations: 58.66 MB / 3.018 GB, free: 12.77 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04319/4.278, allocations: 16.95 MB / 3.035 GB, free: 11.65 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.767/7.045, allocations: 29.03 MB / 3.063 GB, free: 51.84 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04231/7.087, allocations: 18.26 MB / 3.081 GB, free: 51 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01096/7.098, allocations: 2.129 MB / 3.083 GB, free: 51 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04647/7.144, allocations: 15.92 MB / 3.099 GB, free: 50.98 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01334/7.158, allocations: 5.102 MB / 3.104 GB, free: 50.65 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.03075/7.188, allocations: 8.726 MB / 3.112 GB, free: 48.42 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.085/7.273, allocations: 41.27 MB / 3.152 GB, free: 44.11 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/7.273, allocations: 2.438 kB / 3.152 GB, free: 44.11 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.693e-06/7.273, allocations: 2.375 kB / 3.152 GB, free: 44.11 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001395/7.275, allocations: 0 / 3.152 GB, free: 44.11 MB / 2.045 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.0774/7.352, allocations: 21.51 MB / 3.173 GB, free: 35.05 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/7.352, allocations: 12.53 kB / 3.173 GB, free: 35.05 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/7.367, allocations: 2.356 MB / 3.176 GB, free: 33.89 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05064/7.417, allocations: 18.89 MB / 3.194 GB, free: 30.68 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/7.419, allocations: 0.9729 MB / 3.195 GB, free: 30.66 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006529/7.425, allocations: 1.295 MB / 3.196 GB, free: 30.65 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05375/7.479, allocations: 17.06 MB / 3.213 GB, free: 25.32 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006164/7.479, allocations: 45.36 kB / 3.213 GB, free: 25.32 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004234/7.484, allocations: 0.5323 MB / 3.214 GB, free: 25.32 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005638/7.484, allocations: 353 kB / 3.214 GB, free: 25.32 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/7.507, allocations: 10.08 MB / 3.224 GB, free: 25.25 MB / 2.045 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.1019/7.609, allocations: 56.9 MB / 3.279 GB, free: 15.92 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007508/7.616, allocations: 4.346 MB / 3.284 GB, free: 15.24 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00352/7.62, allocations: 2.294 MB / 3.286 GB, free: 15.01 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07848/7.698, allocations: 22.89 MB / 3.308 GB, free: 13.47 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/7.699, allocations: 124 kB / 3.308 GB, free: 13.43 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 2.367e-05/7.699, allocations: 0 / 3.308 GB, free: 13.43 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01873/7.717, allocations: 6.677 MB / 3.315 GB, free: 12.6 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004978/7.718, allocations: 0.7965 MB / 3.316 GB, free: 11.68 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03134/7.749, allocations: 11.96 MB / 3.327 GB, free: 26.77 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001956/7.751, allocations: 142.5 kB / 3.327 GB, free: 26.74 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01006/7.761, allocations: 8.738 MB / 3.336 GB, free: 23.78 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002623/7.764, allocations: 1.533 MB / 3.337 GB, free: 22.8 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004401/7.768, allocations: 1.498 MB / 3.339 GB, free: 22.68 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001398/7.768, allocations: 301.1 kB / 3.339 GB, free: 22.38 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/7.772, allocations: 2.085 MB / 3.341 GB, free: 22.36 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/7.782, allocations: 9.607 MB / 3.351 GB, free: 13.52 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/7.794, allocations: 7.144 MB / 3.358 GB, free: 10.51 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/7.794, allocations: 25 kB / 3.358 GB, free: 10.51 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02383/7.818, allocations: 8.048 MB / 3.365 GB, free: 9.637 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/7.818, allocations: 45.84 kB / 3.366 GB, free: 9.633 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/7.818, allocations: 81.62 kB / 3.366 GB, free: 9.633 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/7.818, allocations: 118.4 kB / 3.366 GB, free: 9.633 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005367/7.824, allocations: 1.457 MB / 3.367 GB, free: 9.633 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001623/7.824, allocations: 175.5 kB / 3.367 GB, free: 9.629 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/7.835, allocations: 0.795 MB / 3.368 GB, free: 9.262 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/7.836, allocations: 396.6 kB / 3.368 GB, free: 9.262 MB / 2.076 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.009881/7.846, allocations: 3.575 MB / 3.372 GB, free: 9.086 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005367/7.851, allocations: 1.352 MB / 3.373 GB, free: 8.34 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/7.866, allocations: 7.423 MB / 3.381 GB, free: 7.859 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/7.866, allocations: 78.73 kB / 3.381 GB, free: 7.859 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/7.866, allocations: 7.5 kB / 3.381 GB, free: 7.859 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004353/7.87, allocations: 3.892 MB / 3.384 GB, free: 6.113 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05509/7.925, allocations: 25.37 MB / 3.409 GB, free: 2.281 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/7.926, allocations: 33.88 kB / 3.409 GB, free: 2.281 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00387/7.929, allocations: 0.7794 MB / 3.41 GB, free: 2.277 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.625e-05/7.93, allocations: 51.03 kB / 3.41 GB, free: 2.277 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007327/7.93, allocations: 158.7 kB / 3.41 GB, free: 2.273 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/7.93, allocations: 67.3 kB / 3.41 GB, free: 2.273 MB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.26e-05/7.93, allocations: 49.97 kB / 3.41 GB, free: 2.273 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/7.952, allocations: 11.75 MB / 3.422 GB, free: 13.95 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009597/7.962, allocations: 2.241 MB / 3.424 GB, free: 12.83 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00445/7.967, allocations: 162.1 kB / 3.424 GB, free: 12.8 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008578/7.975, allocations: 163.4 kB / 3.424 GB, free: 12.77 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/7.976, allocations: 413.5 kB / 3.425 GB, free: 12.59 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008219/7.977, allocations: 264 kB / 3.425 GB, free: 12.55 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02172/7.999, allocations: 8.115 MB / 3.433 GB, free: 10.91 MB / 2.092 GB Notification: Performance of sort global known variables: time 3.01e-07/7.999, allocations: 0 / 3.433 GB, free: 10.91 MB / 2.092 GB Notification: Performance of remove unused functions: time 0.02733/8.026, allocations: 5.887 MB / 3.439 GB, free: 5.766 MB / 2.092 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.01716/8.043, allocations: 4.402 MB / 3.443 GB, free: 1.98 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.01432/8.058, allocations: 5.524 MB / 3.448 GB, free: 14.39 MB / 2.108 GB Notification: Performance of simCode: created event and clocks part: time 8.654e-05/8.058, allocations: 11.91 kB / 3.448 GB, free: 14.38 MB / 2.108 GB Notification: Performance of simCode: created simulation system equations: time 0.005809/8.064, allocations: 2.474 MB / 3.451 GB, free: 12.77 MB / 2.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03901/8.103, allocations: 5.889 MB / 3.456 GB, free: 8.074 MB / 2.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06551/8.168, allocations: 27.97 MB / 3.484 GB, free: 14.85 MB / 2.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02199/8.19, allocations: 7.521 MB / 3.491 GB, free: 7.801 MB / 2.139 GB Notification: Performance of simCode: alias equations: time 0.01516/8.205, allocations: 2.593 MB / 3.494 GB, free: 5.23 MB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004158/8.209, allocations: 0.8427 MB / 3.494 GB, free: 4.426 MB / 2.139 GB Notification: Performance of SimCode: time 1.734e-06/8.209, allocations: 0 / 3.494 GB, free: 4.426 MB / 2.139 GB Notification: Performance of Templates: time 0.5338/8.743, allocations: 287.9 MB / 3.776 GB, free: 9.066 MB / 2.42 GB " [Timeout remaining time 291] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.744939643002]