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.001375/0.001375, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001528/0.001528, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.401/3.401, allocations: 0.4899 GB / 0.7916 GB, free: 33.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.002108/0.002108, allocations: 77.7 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.415, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.379/3.794, allocations: 1.386 GB / 2.708 GB, free: 27.73 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 1.887/5.681, allocations: 336.3 MB / 3.036 GB, free: 32.86 MB / 1.998 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07379/5.754, allocations: 1.69 MB / 3.038 GB, free: 32.86 MB / 1.998 GB Notification: Performance of NFTyping.typeComponents: time 0.04795/5.802, allocations: 13.66 MB / 3.051 GB, free: 32.86 MB / 1.998 GB Notification: Performance of NFTyping.typeBindings: time 0.1122/5.915, allocations: 33.81 MB / 3.084 GB, free: 32.61 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.05421/5.969, allocations: 19.86 MB / 3.103 GB, free: 32.37 MB / 1.998 GB Notification: Performance of NFFlatten.flatten: time 0.09459/6.063, allocations: 57.76 MB / 3.16 GB, free: 32.23 MB / 1.998 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05171/6.115, allocations: 18.06 MB / 3.177 GB, free: 30.71 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09887/6.214, allocations: 28.43 MB / 3.205 GB, free: 29.21 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04841/6.262, allocations: 18.25 MB / 3.223 GB, free: 25.55 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.01279/6.275, allocations: 2.135 MB / 3.225 GB, free: 25.55 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06267/6.338, allocations: 18.42 MB / 3.243 GB, free: 25.32 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01503/6.353, allocations: 5.102 MB / 3.248 GB, free: 24.39 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.03674/6.39, allocations: 11.2 MB / 3.259 GB, free: 21.42 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.1038/6.493, allocations: 41.59 MB / 3.3 GB, free: 3.078 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/6.493, allocations: 0 / 3.3 GB, free: 3.078 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.625e-06/6.493, allocations: 0 / 3.3 GB, free: 3.078 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.00156/6.495, allocations: 2.812 kB / 3.3 GB, free: 3.078 MB / 1.998 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.07762/6.573, allocations: 21.6 MB / 3.321 GB, free: 7.781 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/6.573, allocations: 13.77 kB / 3.321 GB, free: 7.777 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/6.587, allocations: 2.36 MB / 3.323 GB, free: 6.582 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05149/6.638, allocations: 19.15 MB / 3.342 GB, free: 11.95 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001489/6.64, allocations: 0.9742 MB / 3.343 GB, free: 11.39 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006853/6.646, allocations: 1.29 MB / 3.344 GB, free: 10.52 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05849/6.705, allocations: 14.62 MB / 3.358 GB, free: 14.63 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007561/6.706, allocations: 46.64 kB / 3.358 GB, free: 14.61 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005739/6.711, allocations: 0.5375 MB / 3.359 GB, free: 14.07 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004991/6.712, allocations: 347.3 kB / 3.359 GB, free: 13.74 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0295/6.741, allocations: 10.1 MB / 3.369 GB, free: 3.875 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.1554/6.897, allocations: 76.67 MB / 3.444 GB, free: 4.496 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/6.906, allocations: 4.364 MB / 3.448 GB, free: 15.96 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/6.911, allocations: 2.304 MB / 3.45 GB, free: 13.59 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1122/7.023, allocations: 56.09 MB / 3.505 GB, free: 13.3 MB / 2.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/7.023, allocations: 116.5 kB / 3.505 GB, free: 13.2 MB / 2.201 GB Notification: Performance of pre-optimization done (n=412): time 1.008e-05/7.023, allocations: 0 / 3.505 GB, free: 13.2 MB / 2.201 GB Notification: Performance of matching and sorting (n=412): time 0.02316/7.047, allocations: 7.076 MB / 3.512 GB, free: 6.168 MB / 2.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005512/7.047, allocations: 0.8007 MB / 3.513 GB, free: 5.199 MB / 2.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05554/7.103, allocations: 16.71 MB / 3.529 GB, free: 4.586 MB / 2.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001864/7.104, allocations: 141.7 kB / 3.529 GB, free: 4.441 MB / 2.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.01688/7.121, allocations: 8.693 MB / 3.538 GB, free: 11.75 MB / 2.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003862/7.125, allocations: 1.527 MB / 3.539 GB, free: 10.24 MB / 2.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007665/7.133, allocations: 1.5 MB / 3.541 GB, free: 8.73 MB / 2.232 GB Notification: Performance of setup shared object (initialization): time 0.0001554/7.133, allocations: 301.1 kB / 3.541 GB, free: 8.434 MB / 2.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/7.139, allocations: 2.082 MB / 3.543 GB, free: 6.348 MB / 2.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/7.149, allocations: 5.286 MB / 3.548 GB, free: 15.77 MB / 2.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/7.162, allocations: 7.137 MB / 3.555 GB, free: 7.867 MB / 2.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/7.162, allocations: 24 kB / 3.555 GB, free: 7.844 MB / 2.248 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02867/7.191, allocations: 8.454 MB / 3.564 GB, free: 15.88 MB / 2.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/7.191, allocations: 40 kB / 3.564 GB, free: 15.84 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/7.191, allocations: 80 kB / 3.564 GB, free: 15.76 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/7.192, allocations: 120.8 kB / 3.564 GB, free: 15.64 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/7.198, allocations: 1.46 MB / 3.565 GB, free: 14.29 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002904/7.199, allocations: 172.1 kB / 3.565 GB, free: 14.16 MB / 2.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01777/7.216, allocations: 1.353 MB / 3.567 GB, free: 12.8 MB / 2.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/7.219, allocations: 395.9 kB / 3.567 GB, free: 12.41 MB / 2.264 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.01454/7.234, allocations: 3.579 MB / 3.571 GB, free: 8.934 MB / 2.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009054/7.243, allocations: 1.747 MB / 3.572 GB, free: 7.176 MB / 2.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02322/7.266, allocations: 7.55 MB / 3.58 GB, free: 15.7 MB / 2.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002875/7.266, allocations: 90.75 kB / 3.58 GB, free: 15.61 MB / 2.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.257e-05/7.266, allocations: 11.94 kB / 3.58 GB, free: 15.6 MB / 2.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006484/7.273, allocations: 3.843 MB / 3.584 GB, free: 11.46 MB / 2.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07481/7.348, allocations: 28.81 MB / 3.612 GB, free: 14.54 MB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001998/7.348, allocations: 32 kB / 3.612 GB, free: 14.51 MB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/7.352, allocations: 0.7768 MB / 3.612 GB, free: 13.78 MB / 2.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/7.352, allocations: 52 kB / 3.612 GB, free: 13.73 MB / 2.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/7.353, allocations: 155.9 kB / 3.613 GB, free: 13.58 MB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.615e-05/7.353, allocations: 70.31 kB / 3.613 GB, free: 13.52 MB / 2.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.743e-05/7.353, allocations: 50.25 kB / 3.613 GB, free: 13.49 MB / 2.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02965/7.383, allocations: 12.07 MB / 3.625 GB, free: 0.875 MB / 2.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01398/7.397, allocations: 2.936 MB / 3.627 GB, free: 13.9 MB / 2.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007916/7.404, allocations: 155.8 kB / 3.628 GB, free: 13.75 MB / 2.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01387/7.418, allocations: 263.1 kB / 3.628 GB, free: 13.5 MB / 2.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/7.42, allocations: 402 kB / 3.628 GB, free: 13.13 MB / 2.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001679/7.422, allocations: 259.8 kB / 3.628 GB, free: 12.88 MB / 2.326 GB Notification: Performance of sorting global known variables: time 0.03976/7.461, allocations: 11.89 MB / 3.64 GB, free: 1.094 MB / 2.326 GB Notification: Performance of sort global known variables: time 2.2e-07/7.461, allocations: 0 / 3.64 GB, free: 1.094 MB / 2.326 GB Notification: Performance of remove unused functions: time 0.03238/7.494, allocations: 5.43 MB / 3.645 GB, free: 11.65 MB / 2.342 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.0178/7.512, allocations: 4.398 MB / 3.65 GB, free: 7.672 MB / 2.342 GB Notification: Performance of simCode: created initialization part: time 0.0159/7.528, allocations: 5.47 MB / 3.655 GB, free: 2.52 MB / 2.342 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-05/7.528, allocations: 8 kB / 3.655 GB, free: 2.512 MB / 2.342 GB Notification: Performance of simCode: created simulation system equations: time 0.005941/7.534, allocations: 2.42 MB / 3.657 GB, free: 260 kB / 2.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06887/7.602, allocations: 10.02 MB / 3.667 GB, free: 6.508 MB / 2.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07505/7.677, allocations: 28.88 MB / 3.695 GB, free: 9.434 MB / 2.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/7.697, allocations: 7.795 MB / 3.703 GB, free: 1.594 MB / 2.389 GB Notification: Performance of simCode: alias equations: time 0.02115/7.718, allocations: 3.247 MB / 3.706 GB, free: 14.36 MB / 2.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00504/7.723, allocations: 1.072 MB / 3.707 GB, free: 13.3 MB / 2.404 GB Notification: Performance of SimCode: time 1.994e-06/7.723, allocations: 0 / 3.707 GB, free: 13.3 MB / 2.404 GB Notification: Performance of Templates: time 2.312/10.04, allocations: 357 MB / 4.056 GB, free: 1.411 GB / 2.608 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/jenkins/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: 31.418579570017755]