Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 191.9 kB / 22.17 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 497.2 MB / 0.7845 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 69.11 kB / 1.139 GB, free: 33.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3977, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.146/3.543, allocations: 1.395 GB / 2.704 GB, free: 23.52 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 1.651/5.194, allocations: 337.8 MB / 3.034 GB, free: 32.18 MB / 1.982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04684/5.241, allocations: 1.223 MB / 3.035 GB, free: 32.18 MB / 1.982 GB Notification: Performance of NFTyping.typeComponents: time 0.04902/5.29, allocations: 13.67 MB / 3.049 GB, free: 32.17 MB / 1.982 GB Notification: Performance of NFTyping.typeBindings: time 0.09563/5.386, allocations: 33.8 MB / 3.082 GB, free: 31.93 MB / 1.982 GB Notification: Performance of NFTyping.typeClassSections: time 0.04968/5.435, allocations: 20.39 MB / 3.102 GB, free: 31.39 MB / 1.982 GB Notification: Performance of NFFlatten.flatten: time 0.08752/5.523, allocations: 57.82 MB / 3.158 GB, free: 31.27 MB / 1.982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04051/5.564, allocations: 16.9 MB / 3.175 GB, free: 29.95 MB / 1.982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0735/5.637, allocations: 28.24 MB / 3.202 GB, free: 28.34 MB / 1.982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0383/5.675, allocations: 18.25 MB / 3.22 GB, free: 24.69 MB / 1.982 GB Notification: Performance of NFPackage.collectConstants: time 0.01073/5.686, allocations: 2.128 MB / 3.222 GB, free: 24.69 MB / 1.982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05794/5.744, allocations: 18.19 MB / 3.24 GB, free: 24.46 MB / 1.982 GB Notification: Performance of NFScalarize.scalarize: time 0.01309/5.757, allocations: 5.102 MB / 3.245 GB, free: 23.53 MB / 1.982 GB Notification: Performance of NFVerifyModel.verify: time 0.03548/5.793, allocations: 11.19 MB / 3.256 GB, free: 20.57 MB / 1.982 GB Notification: Performance of NFConvertDAE.convert: time 0.08813/5.881, allocations: 41.17 MB / 3.296 GB, free: 3.391 MB / 1.982 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/5.881, allocations: 0 / 3.296 GB, free: 3.391 MB / 1.982 GB Notification: Performance of FrontEnd: time 1.904e-06/5.881, allocations: 2.562 kB / 3.296 GB, free: 3.391 MB / 1.982 GB Notification: Performance of Transformations before backend: time 0.001202/5.882, allocations: 0 / 3.296 GB, free: 3.391 MB / 1.982 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.06555/5.947, allocations: 21.57 MB / 3.317 GB, free: 8.098 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/5.948, allocations: 10.09 kB / 3.317 GB, free: 8.098 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/5.959, allocations: 2.356 MB / 3.319 GB, free: 6.906 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04683/6.006, allocations: 19.04 MB / 3.338 GB, free: 14.67 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001371/6.008, allocations: 0.9708 MB / 3.339 GB, free: 14.11 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006161/6.014, allocations: 1.296 MB / 3.34 GB, free: 13.23 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05297/6.067, allocations: 14.62 MB / 3.354 GB, free: 388 kB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006333/6.067, allocations: 38.41 kB / 3.355 GB, free: 372 kB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/6.072, allocations: 0.5349 MB / 3.355 GB, free: 15.84 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004559/6.073, allocations: 351.1 kB / 3.355 GB, free: 15.5 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/6.1, allocations: 10.1 MB / 3.365 GB, free: 5.637 MB / 2.029 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.1218/6.221, allocations: 76.67 MB / 3.44 GB, free: 6.262 MB / 2.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00831/6.23, allocations: 4.353 MB / 3.444 GB, free: 1.734 MB / 2.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/6.234, allocations: 2.297 MB / 3.447 GB, free: 15.37 MB / 2.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1029/6.337, allocations: 51.67 MB / 3.497 GB, free: 4.387 MB / 2.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/6.337, allocations: 129.6 kB / 3.497 GB, free: 4.266 MB / 2.17 GB Notification: Performance of pre-optimization done (n=412): time 1.733e-05/6.337, allocations: 0 / 3.497 GB, free: 4.266 MB / 2.17 GB Notification: Performance of matching and sorting (n=412): time 0.01945/6.357, allocations: 7.081 MB / 3.504 GB, free: 13.25 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004698/6.357, allocations: 0.7912 MB / 3.505 GB, free: 12.29 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04267/6.4, allocations: 16.68 MB / 3.521 GB, free: 11.7 MB / 2.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001462/6.401, allocations: 145 kB / 3.521 GB, free: 11.56 MB / 2.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01233/6.414, allocations: 8.684 MB / 3.53 GB, free: 2.871 MB / 2.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003195/6.417, allocations: 1.534 MB / 3.531 GB, free: 1.359 MB / 2.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003512/6.42, allocations: 1.5 MB / 3.533 GB, free: 15.85 MB / 2.217 GB Notification: Performance of setup shared object (initialization): time 0.0001527/6.42, allocations: 309.1 kB / 3.533 GB, free: 15.55 MB / 2.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/6.424, allocations: 2.078 MB / 3.535 GB, free: 13.46 MB / 2.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007988/6.432, allocations: 5.278 MB / 3.54 GB, free: 6.891 MB / 2.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/6.443, allocations: 7.137 MB / 3.547 GB, free: 15 MB / 2.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.501e-05/6.443, allocations: 24 kB / 3.547 GB, free: 14.97 MB / 2.232 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02001/6.463, allocations: 8.451 MB / 3.555 GB, free: 7.004 MB / 2.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/6.463, allocations: 40 kB / 3.556 GB, free: 6.965 MB / 2.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/6.463, allocations: 88.11 kB / 3.556 GB, free: 6.879 MB / 2.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/6.464, allocations: 116 kB / 3.556 GB, free: 6.766 MB / 2.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/6.469, allocations: 1.455 MB / 3.557 GB, free: 5.422 MB / 2.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001697/6.469, allocations: 178.2 kB / 3.557 GB, free: 5.281 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/6.481, allocations: 1.344 MB / 3.559 GB, free: 3.93 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/6.483, allocations: 395.9 kB / 3.559 GB, free: 3.543 MB / 2.232 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.008988/6.492, allocations: 3.57 MB / 3.562 GB, free: 72 kB / 2.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005607/6.497, allocations: 1.754 MB / 3.564 GB, free: 14.3 MB / 2.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/6.513, allocations: 7.564 MB / 3.572 GB, free: 6.922 MB / 2.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001416/6.513, allocations: 83.88 kB / 3.572 GB, free: 6.84 MB / 2.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/6.513, allocations: 8 kB / 3.572 GB, free: 6.832 MB / 2.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004786/6.518, allocations: 3.842 MB / 3.575 GB, free: 2.691 MB / 2.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05691/6.575, allocations: 28.8 MB / 3.604 GB, free: 5.781 MB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.217e-05/6.575, allocations: 32 kB / 3.604 GB, free: 5.75 MB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/6.578, allocations: 0.7719 MB / 3.604 GB, free: 5.027 MB / 2.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.079e-05/6.578, allocations: 55.98 kB / 3.604 GB, free: 4.973 MB / 2.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/6.578, allocations: 152 kB / 3.605 GB, free: 4.824 MB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-05/6.578, allocations: 68.06 kB / 3.605 GB, free: 4.77 MB / 2.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-05/6.578, allocations: 50.44 kB / 3.605 GB, free: 4.734 MB / 2.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/6.597, allocations: 12.05 MB / 3.616 GB, free: 8.137 MB / 2.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00964/6.607, allocations: 2.94 MB / 3.619 GB, free: 5.164 MB / 2.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005219/6.612, allocations: 147.8 kB / 3.619 GB, free: 5.02 MB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00995/6.622, allocations: 251.5 kB / 3.62 GB, free: 4.773 MB / 2.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008064/6.623, allocations: 402.6 kB / 3.62 GB, free: 4.406 MB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006876/6.624, allocations: 259.8 kB / 3.62 GB, free: 4.152 MB / 2.295 GB Notification: Performance of sorting global known variables: time 0.02716/6.651, allocations: 11.85 MB / 3.632 GB, free: 8.398 MB / 2.311 GB Notification: Performance of sort global known variables: time 2.21e-07/6.651, allocations: 0 / 3.632 GB, free: 8.398 MB / 2.311 GB Notification: Performance of remove unused functions: time 0.02232/6.673, allocations: 5.411 MB / 3.637 GB, free: 2.977 MB / 2.311 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.01362/6.687, allocations: 4.468 MB / 3.642 GB, free: 14.93 MB / 2.326 GB Notification: Performance of simCode: created initialization part: time 0.01198/6.699, allocations: 5.463 MB / 3.647 GB, free: 9.781 MB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 4.986e-05/6.699, allocations: 9.484 kB / 3.647 GB, free: 9.773 MB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.005066/6.704, allocations: 2.431 MB / 3.649 GB, free: 7.504 MB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05444/6.758, allocations: 10.01 MB / 3.659 GB, free: 13.65 MB / 2.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/6.818, allocations: 28.82 MB / 3.687 GB, free: 0.6211 MB / 2.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01485/6.833, allocations: 7.79 MB / 3.695 GB, free: 8.789 MB / 2.373 GB Notification: Performance of simCode: alias equations: time 0.0149/6.848, allocations: 3.239 MB / 3.698 GB, free: 5.574 MB / 2.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/6.851, allocations: 1.076 MB / 3.699 GB, free: 4.5 MB / 2.373 GB Notification: Performance of SimCode: time 9.02e-07/6.851, allocations: 3.188 kB / 3.699 GB, free: 4.5 MB / 2.373 GB Notification: Performance of Templates: time 1.945/8.796, allocations: 358.6 MB / 4.049 GB, free: 1.384 GB / 2.576 GB " [Timeout remaining time 291] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 29.592730056960136]