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.001395/0.001395, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00161/0.00161, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002089/0.002089, allocations: 65.92 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.394/3.776, allocations: 1.261 GB / 2.588 GB, free: 125.7 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.4029/4.179, allocations: 312.5 MB / 2.893 GB, free: 13.21 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05133/4.23, allocations: 1.692 MB / 2.895 GB, free: 11.51 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.04166/4.272, allocations: 13.44 MB / 2.908 GB, free: 13.98 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.107/4.379, allocations: 33.98 MB / 2.941 GB, free: 11.89 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05838/4.437, allocations: 20.42 MB / 2.961 GB, free: 7.574 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.09839/4.536, allocations: 58.67 MB / 3.018 GB, free: 12.74 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0468/4.582, allocations: 16.94 MB / 3.035 GB, free: 11.63 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.533/7.115, allocations: 29.04 MB / 3.063 GB, free: 51.73 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03924/7.155, allocations: 18.26 MB / 3.081 GB, free: 50.9 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.011/7.166, allocations: 2.129 MB / 3.083 GB, free: 50.9 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04565/7.211, allocations: 15.92 MB / 3.099 GB, free: 50.89 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01338/7.225, allocations: 5.105 MB / 3.104 GB, free: 50.53 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02627/7.251, allocations: 8.726 MB / 3.112 GB, free: 48.3 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.07929/7.33, allocations: 41.28 MB / 3.152 GB, free: 43.99 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/7.33, allocations: 0 / 3.152 GB, free: 43.99 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.683e-06/7.33, allocations: 0 / 3.152 GB, free: 43.99 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001152/7.331, allocations: 0 / 3.152 GB, free: 43.99 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.06305/7.394, allocations: 21.51 MB / 3.173 GB, free: 34.93 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/7.395, allocations: 11.28 kB / 3.173 GB, free: 34.93 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/7.406, allocations: 2.356 MB / 3.176 GB, free: 33.77 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0412/7.447, allocations: 18.9 MB / 3.194 GB, free: 30.55 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/7.448, allocations: 0.9801 MB / 3.195 GB, free: 30.53 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005077/7.453, allocations: 1.287 MB / 3.196 GB, free: 30.52 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04172/7.495, allocations: 17.06 MB / 3.213 GB, free: 25.2 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005559/7.496, allocations: 43.23 kB / 3.213 GB, free: 25.2 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003453/7.499, allocations: 0.5347 MB / 3.214 GB, free: 25.2 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003289/7.499, allocations: 350.2 kB / 3.214 GB, free: 25.2 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02099/7.52, allocations: 10.08 MB / 3.224 GB, free: 25.13 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.09199/7.612, allocations: 56.9 MB / 3.279 GB, free: 15.79 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/7.619, allocations: 4.335 MB / 3.284 GB, free: 15.12 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/7.623, allocations: 2.301 MB / 3.286 GB, free: 14.89 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07556/7.699, allocations: 22.89 MB / 3.308 GB, free: 13.35 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/7.699, allocations: 122.9 kB / 3.308 GB, free: 13.3 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 1.202e-05/7.699, allocations: 0 / 3.308 GB, free: 13.3 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01645/7.715, allocations: 6.678 MB / 3.315 GB, free: 12.47 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003978/7.716, allocations: 0.7911 MB / 3.316 GB, free: 11.56 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02844/7.744, allocations: 11.96 MB / 3.327 GB, free: 26.65 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/7.745, allocations: 145.8 kB / 3.327 GB, free: 26.62 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.008556/7.754, allocations: 8.738 MB / 3.336 GB, free: 23.66 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002411/7.756, allocations: 1.529 MB / 3.337 GB, free: 22.68 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005337/7.762, allocations: 1.496 MB / 3.339 GB, free: 22.55 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001512/7.762, allocations: 301.1 kB / 3.339 GB, free: 22.26 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005669/7.768, allocations: 2.092 MB / 3.341 GB, free: 22.24 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01512/7.783, allocations: 9.612 MB / 3.351 GB, free: 13.39 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/7.793, allocations: 7.141 MB / 3.358 GB, free: 10.38 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/7.794, allocations: 24.84 kB / 3.358 GB, free: 10.38 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01904/7.813, allocations: 8.037 MB / 3.365 GB, free: 9.516 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/7.813, allocations: 48.31 kB / 3.366 GB, free: 9.512 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/7.813, allocations: 84.59 kB / 3.366 GB, free: 9.508 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/7.813, allocations: 119.3 kB / 3.366 GB, free: 9.508 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/7.818, allocations: 1.454 MB / 3.367 GB, free: 9.508 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/7.819, allocations: 167.9 kB / 3.367 GB, free: 9.508 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009927/7.829, allocations: 0.7928 MB / 3.368 GB, free: 9.145 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/7.83, allocations: 395.6 kB / 3.368 GB, free: 9.145 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.009335/7.839, allocations: 3.586 MB / 3.372 GB, free: 8.965 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005851/7.845, allocations: 1.346 MB / 3.373 GB, free: 8.219 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/7.862, allocations: 7.425 MB / 3.381 GB, free: 7.738 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002077/7.862, allocations: 81.98 kB / 3.381 GB, free: 7.738 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.694e-05/7.862, allocations: 7.594 kB / 3.381 GB, free: 7.738 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005071/7.867, allocations: 3.895 MB / 3.384 GB, free: 5.992 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05125/7.918, allocations: 25.37 MB / 3.409 GB, free: 2.156 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001324/7.918, allocations: 30.84 kB / 3.409 GB, free: 2.156 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/7.922, allocations: 0.7821 MB / 3.41 GB, free: 2.148 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.24e-05/7.922, allocations: 50.38 kB / 3.41 GB, free: 2.148 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007125/7.922, allocations: 155.5 kB / 3.41 GB, free: 2.148 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-05/7.922, allocations: 69.92 kB / 3.41 GB, free: 2.148 MB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-05/7.922, allocations: 52.22 kB / 3.41 GB, free: 2.148 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/7.943, allocations: 11.75 MB / 3.422 GB, free: 13.91 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008172/7.951, allocations: 2.233 MB / 3.424 GB, free: 12.8 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00384/7.955, allocations: 156.2 kB / 3.424 GB, free: 12.77 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00793/7.963, allocations: 171.5 kB / 3.424 GB, free: 12.74 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/7.964, allocations: 416.7 kB / 3.425 GB, free: 12.56 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001045/7.965, allocations: 257.1 kB / 3.425 GB, free: 12.52 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.01839/7.984, allocations: 8.114 MB / 3.433 GB, free: 10.88 MB / 2.092 GB Notification: Performance of sort global known variables: time 2.31e-07/7.984, allocations: 0 / 3.433 GB, free: 10.88 MB / 2.092 GB Notification: Performance of remove unused functions: time 0.02383/8.007, allocations: 5.888 MB / 3.439 GB, free: 5.727 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.01476/8.022, allocations: 4.402 MB / 3.443 GB, free: 1.945 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.01215/8.034, allocations: 5.527 MB / 3.448 GB, free: 14.35 MB / 2.108 GB Notification: Performance of simCode: created event and clocks part: time 5.427e-05/8.034, allocations: 15.84 kB / 3.448 GB, free: 14.33 MB / 2.108 GB Notification: Performance of simCode: created simulation system equations: time 0.004826/8.039, allocations: 2.466 MB / 3.451 GB, free: 12.73 MB / 2.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03369/8.073, allocations: 5.901 MB / 3.456 GB, free: 8.016 MB / 2.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06047/8.133, allocations: 27.98 MB / 3.484 GB, free: 14.78 MB / 2.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/8.15, allocations: 7.52 MB / 3.491 GB, free: 7.73 MB / 2.139 GB Notification: Performance of simCode: alias equations: time 0.01226/8.162, allocations: 2.589 MB / 3.494 GB, free: 5.164 MB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002969/8.165, allocations: 0.8387 MB / 3.494 GB, free: 4.359 MB / 2.139 GB Notification: Performance of SimCode: time 1.603e-06/8.165, allocations: 0 / 3.494 GB, free: 4.359 MB / 2.139 GB Notification: Performance of Templates: time 0.4989/8.664, allocations: 287.9 MB / 3.776 GB, free: 9.004 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 gbode -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: 26.8829399360111]