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.001978/0.001978, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002597/0.002597, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.293/3.293, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 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.002144/0.002144, allocations: 70.61 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.408, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.734/4.142, allocations: 1.261 GB / 2.587 GB, free: 125.9 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.4853/4.627, allocations: 312.5 MB / 2.892 GB, free: 14.73 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06327/4.691, allocations: 1.692 MB / 2.894 GB, free: 13.02 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.04803/4.739, allocations: 13.44 MB / 2.907 GB, free: 15.5 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.1137/4.852, allocations: 33.93 MB / 2.94 GB, free: 13.45 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.06/4.912, allocations: 20.2 MB / 2.96 GB, free: 9.359 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.1047/5.017, allocations: 58.36 MB / 3.017 GB, free: 14.83 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05423/5.071, allocations: 16.71 MB / 3.033 GB, free: 13.95 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.828/7.9, allocations: 29.02 MB / 3.062 GB, free: 51.72 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04402/7.944, allocations: 17.6 MB / 3.079 GB, free: 50.89 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01311/7.957, allocations: 2.134 MB / 3.081 GB, free: 50.89 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05377/8.011, allocations: 15.58 MB / 3.096 GB, free: 50.88 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01507/8.026, allocations: 5.11 MB / 3.101 GB, free: 50.86 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.03201/8.058, allocations: 8.726 MB / 3.11 GB, free: 48.64 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.09583/8.154, allocations: 41.27 MB / 3.15 GB, free: 44.32 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/8.154, allocations: 2.625 kB / 3.15 GB, free: 44.32 MB / 2.045 GB Notification: Performance of FrontEnd: time 2.274e-06/8.154, allocations: 0 / 3.15 GB, free: 44.32 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.00175/8.155, allocations: 1.844 kB / 3.15 GB, free: 44.32 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.0836/8.239, allocations: 21.5 MB / 3.171 GB, free: 35.27 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/8.239, allocations: 10.47 kB / 3.171 GB, free: 35.27 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/8.253, allocations: 2.361 MB / 3.173 GB, free: 34.1 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05407/8.307, allocations: 18.9 MB / 3.192 GB, free: 30.89 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/8.309, allocations: 0.9746 MB / 3.193 GB, free: 30.86 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00745/8.316, allocations: 1.289 MB / 3.194 GB, free: 30.86 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06023/8.376, allocations: 17.07 MB / 3.21 GB, free: 25.54 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001253/8.378, allocations: 40.28 kB / 3.211 GB, free: 25.54 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007449/8.385, allocations: 0.5321 MB / 3.211 GB, free: 25.54 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/8.386, allocations: 350 kB / 3.211 GB, free: 25.54 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02891/8.415, allocations: 10.08 MB / 3.221 GB, free: 25.46 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.1148/8.53, allocations: 56.9 MB / 3.277 GB, free: 16.13 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008433/8.538, allocations: 4.351 MB / 3.281 GB, free: 15.45 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/8.543, allocations: 2.281 MB / 3.283 GB, free: 15.23 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07759/8.62, allocations: 22.91 MB / 3.306 GB, free: 13.69 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/8.62, allocations: 117.5 kB / 3.306 GB, free: 13.65 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 7.735e-06/8.62, allocations: 0 / 3.306 GB, free: 13.65 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01911/8.639, allocations: 6.676 MB / 3.312 GB, free: 12.82 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008206/8.64, allocations: 0.7913 MB / 3.313 GB, free: 27.91 MB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03092/8.671, allocations: 11.96 MB / 3.325 GB, free: 26.99 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/8.673, allocations: 146 kB / 3.325 GB, free: 26.96 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01096/8.684, allocations: 8.747 MB / 3.333 GB, free: 24 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002992/8.687, allocations: 1.53 MB / 3.335 GB, free: 23.02 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004751/8.692, allocations: 1.498 MB / 3.336 GB, free: 22.89 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.000167/8.692, allocations: 302.4 kB / 3.337 GB, free: 22.59 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/8.696, allocations: 2.089 MB / 3.339 GB, free: 22.58 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009652/8.706, allocations: 9.604 MB / 3.348 GB, free: 13.73 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/8.716, allocations: 7.135 MB / 3.355 GB, free: 10.73 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/8.716, allocations: 21.28 kB / 3.355 GB, free: 10.73 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0234/8.739, allocations: 8.06 MB / 3.363 GB, free: 9.859 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/8.74, allocations: 41.31 kB / 3.363 GB, free: 9.855 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/8.74, allocations: 82.78 kB / 3.363 GB, free: 9.855 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/8.74, allocations: 116.1 kB / 3.363 GB, free: 9.855 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005894/8.746, allocations: 1.458 MB / 3.365 GB, free: 9.855 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000283/8.746, allocations: 172 kB / 3.365 GB, free: 9.855 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/8.76, allocations: 0.8051 MB / 3.366 GB, free: 9.48 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/8.762, allocations: 396.5 kB / 3.366 GB, free: 9.477 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.01407/8.776, allocations: 3.574 MB / 3.369 GB, free: 9.305 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007181/8.784, allocations: 1.352 MB / 3.371 GB, free: 8.559 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/8.801, allocations: 7.435 MB / 3.378 GB, free: 8.059 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001924/8.801, allocations: 85.33 kB / 3.378 GB, free: 8.059 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/8.801, allocations: 6.469 kB / 3.378 GB, free: 8.059 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004917/8.806, allocations: 3.886 MB / 3.382 GB, free: 6.316 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05944/8.865, allocations: 25.38 MB / 3.407 GB, free: 2.477 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-05/8.865, allocations: 30.53 kB / 3.407 GB, free: 2.477 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/8.869, allocations: 0.7823 MB / 3.407 GB, free: 2.473 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-05/8.869, allocations: 49.34 kB / 3.407 GB, free: 2.473 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007369/8.869, allocations: 153.7 kB / 3.408 GB, free: 2.473 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-05/8.869, allocations: 75.09 kB / 3.408 GB, free: 2.469 MB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.205e-05/8.869, allocations: 52.53 kB / 3.408 GB, free: 2.465 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/8.892, allocations: 11.75 MB / 3.419 GB, free: 14.38 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009895/8.902, allocations: 2.235 MB / 3.421 GB, free: 13.27 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004718/8.906, allocations: 157.7 kB / 3.422 GB, free: 13.24 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009445/8.916, allocations: 176.1 kB / 3.422 GB, free: 13.2 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/8.917, allocations: 412.5 kB / 3.422 GB, free: 13.03 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008583/8.918, allocations: 262.1 kB / 3.422 GB, free: 12.99 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02315/8.941, allocations: 8.12 MB / 3.43 GB, free: 11.34 MB / 2.092 GB Notification: Performance of sort global known variables: time 2.3e-07/8.941, allocations: 0 / 3.43 GB, free: 11.34 MB / 2.092 GB Notification: Performance of remove unused functions: time 0.02799/8.969, allocations: 5.877 MB / 3.436 GB, free: 7.562 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.01675/8.986, allocations: 4.402 MB / 3.44 GB, free: 3.777 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.01345/8.999, allocations: 5.519 MB / 3.446 GB, free: 184 kB / 2.092 GB Notification: Performance of simCode: created event and clocks part: time 7.53e-05/8.999, allocations: 15.81 kB / 3.446 GB, free: 172 kB / 2.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005379/9.005, allocations: 2.465 MB / 3.448 GB, free: 14.57 MB / 2.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04005/9.045, allocations: 5.893 MB / 3.454 GB, free: 9.871 MB / 2.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06907/9.114, allocations: 27.8 MB / 3.481 GB, free: 0.6875 MB / 2.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01854/9.133, allocations: 7.257 MB / 3.488 GB, free: 9.906 MB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004174/9.137, allocations: 0.8873 MB / 3.489 GB, free: 9.059 MB / 2.139 GB Notification: Performance of SimCode: time 1.633e-06/9.137, allocations: 0 / 3.489 GB, free: 9.059 MB / 2.139 GB Notification: Performance of Templates: time 0.4722/9.609, allocations: 274.9 MB / 3.757 GB, free: 13.29 MB / 2.404 GB " [Timeout remaining time 290] 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 -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: 59.98714005295187]