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.002563/0.002563, allocations: 83.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.003061/0.003061, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.047/3.047, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.704e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.584/3.584, allocations: 1.426 GB / 2.237 GB, free: 63.63 MB / 1.385 GB Notification: Performance of NFInst.instExpressions: time 0.47/4.054, allocations: 346 MB / 2.574 GB, free: 2.867 MB / 1.557 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05424/4.108, allocations: 1.692 MB / 2.576 GB, free: 1.16 MB / 1.557 GB Notification: Performance of NFTyping.typeComponents: time 0.04799/4.156, allocations: 13.61 MB / 2.589 GB, free: 3.465 MB / 1.573 GB Notification: Performance of NFTyping.typeBindings: time 0.1179/4.274, allocations: 34.78 MB / 2.623 GB, free: 0.5117 MB / 1.604 GB Notification: Performance of NFTyping.typeClassSections: time 1.22/5.494, allocations: 20.91 MB / 2.644 GB, free: 27.03 MB / 1.604 GB Notification: Performance of NFFlatten.flatten: time 0.1038/5.598, allocations: 58.71 MB / 2.701 GB, free: 20.55 MB / 1.604 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06364/5.662, allocations: 17.36 MB / 2.718 GB, free: 34.77 MB / 1.62 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1224/5.784, allocations: 37.03 MB / 2.754 GB, free: 30.89 MB / 1.62 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0556/5.84, allocations: 16.32 MB / 2.77 GB, free: 28.3 MB / 1.62 GB Notification: Performance of NFPackage.collectConstants: time 0.01363/5.853, allocations: 2.133 MB / 2.772 GB, free: 28.3 MB / 1.62 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06808/5.921, allocations: 15.72 MB / 2.788 GB, free: 27.69 MB / 1.62 GB Notification: Performance of NFScalarize.scalarize: time 0.01346/5.935, allocations: 5.289 MB / 2.793 GB, free: 26.65 MB / 1.62 GB Notification: Performance of NFVerifyModel.verify: time 0.02571/5.961, allocations: 7.387 MB / 2.8 GB, free: 25.77 MB / 1.62 GB Notification: Performance of NFConvertDAE.convert: time 0.08949/6.05, allocations: 42.58 MB / 2.842 GB, free: 23.96 MB / 1.62 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/6.05, allocations: 0 / 2.842 GB, free: 23.96 MB / 1.62 GB Notification: Performance of FrontEnd: time 1.533e-06/6.05, allocations: 0 / 2.842 GB, free: 23.96 MB / 1.62 GB Notification: Performance of Transformations before backend: time 0.0016/6.052, allocations: 0 / 2.842 GB, free: 23.96 MB / 1.62 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.07062/6.122, allocations: 24.29 MB / 2.865 GB, free: 14.55 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/6.122, allocations: 9.094 kB / 2.865 GB, free: 14.55 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/6.14, allocations: 3.467 MB / 2.869 GB, free: 13.25 MB / 1.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05004/6.19, allocations: 20.12 MB / 2.888 GB, free: 6.555 MB / 1.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/6.192, allocations: 0.9751 MB / 2.889 GB, free: 6.527 MB / 1.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005973/6.198, allocations: 1.335 MB / 2.891 GB, free: 6.52 MB / 1.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05417/6.252, allocations: 18.33 MB / 2.908 GB, free: 12.93 MB / 1.635 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008273/6.253, allocations: 44.61 kB / 2.908 GB, free: 12.92 MB / 1.635 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004625/6.257, allocations: 0.5387 MB / 2.909 GB, free: 12.52 MB / 1.635 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/6.258, allocations: 347.6 kB / 2.909 GB, free: 12.51 MB / 1.635 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/6.283, allocations: 9.019 MB / 2.918 GB, free: 8.172 MB / 1.635 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.154/6.437, allocations: 86.64 MB / 3.003 GB, free: 9.004 MB / 1.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009208/6.446, allocations: 4.17 MB / 3.007 GB, free: 4.559 MB / 1.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004156/6.451, allocations: 1.893 MB / 3.009 GB, free: 2.566 MB / 1.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0901/6.541, allocations: 22.91 MB / 3.031 GB, free: 11.7 MB / 1.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/6.541, allocations: 123.7 kB / 3.031 GB, free: 11.58 MB / 1.745 GB Notification: Performance of pre-optimization done (n=412): time 8.516e-06/6.541, allocations: 0 / 3.031 GB, free: 11.58 MB / 1.745 GB Notification: Performance of matching and sorting (n=412): time 0.02/6.561, allocations: 5.649 MB / 3.037 GB, free: 5.992 MB / 1.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007253/6.562, allocations: 0.7999 MB / 3.037 GB, free: 5.023 MB / 1.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04325/6.605, allocations: 16.43 MB / 3.054 GB, free: 4.684 MB / 1.76 GB Notification: Performance of collectPreVariables (initialization): time 0.001662/6.607, allocations: 145.7 kB / 3.054 GB, free: 4.535 MB / 1.76 GB Notification: Performance of collectInitialEqns (initialization): time 0.01569/6.622, allocations: 10.26 MB / 3.064 GB, free: 10.33 MB / 1.776 GB Notification: Performance of collectInitialBindings (initialization): time 0.003953/6.626, allocations: 1.7 MB / 3.065 GB, free: 8.648 MB / 1.776 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005124/6.631, allocations: 1.878 MB / 3.067 GB, free: 6.758 MB / 1.776 GB Notification: Performance of setup shared object (initialization): time 0.0002602/6.632, allocations: 480.7 kB / 3.068 GB, free: 6.285 MB / 1.776 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/6.636, allocations: 1.582 MB / 3.069 GB, free: 4.699 MB / 1.776 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/6.65, allocations: 10.67 MB / 3.08 GB, free: 7.109 MB / 1.792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01757/6.668, allocations: 7.705 MB / 3.087 GB, free: 14.17 MB / 1.807 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/6.668, allocations: 28 kB / 3.087 GB, free: 14.14 MB / 1.807 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02559/6.694, allocations: 7.416 MB / 3.094 GB, free: 7.266 MB / 1.807 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/6.694, allocations: 40.97 kB / 3.094 GB, free: 7.227 MB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/6.694, allocations: 87.98 kB / 3.095 GB, free: 7.141 MB / 1.807 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/6.694, allocations: 128 kB / 3.095 GB, free: 7.016 MB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/6.7, allocations: 1.444 MB / 3.096 GB, free: 5.684 MB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/6.701, allocations: 170.2 kB / 3.096 GB, free: 5.551 MB / 1.807 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/6.712, allocations: 0.744 MB / 3.097 GB, free: 4.805 MB / 1.807 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/6.714, allocations: 391.9 kB / 3.097 GB, free: 4.422 MB / 1.807 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 382 * 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 (832): * Single equations (assignments): 832 * 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.01214/6.727, allocations: 3.346 MB / 3.101 GB, free: 1.176 MB / 1.807 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007152/6.734, allocations: 1.492 MB / 3.102 GB, free: 15.68 MB / 1.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/6.752, allocations: 5.696 MB / 3.108 GB, free: 10.15 MB / 1.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002852/6.752, allocations: 83.94 kB / 3.108 GB, free: 10.07 MB / 1.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/6.752, allocations: 12 kB / 3.108 GB, free: 10.05 MB / 1.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005692/6.758, allocations: 3.153 MB / 3.111 GB, free: 6.605 MB / 1.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07279/6.83, allocations: 26.63 MB / 3.137 GB, free: 11.77 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001574/6.83, allocations: 32 kB / 3.137 GB, free: 11.74 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003662/6.834, allocations: 0.7764 MB / 3.138 GB, free: 11.01 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/6.834, allocations: 52 kB / 3.138 GB, free: 10.96 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009116/6.835, allocations: 159.8 kB / 3.138 GB, free: 10.8 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/6.835, allocations: 73.28 kB / 3.138 GB, free: 10.75 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-05/6.835, allocations: 45.22 kB / 3.138 GB, free: 10.71 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/6.862, allocations: 10.8 MB / 3.148 GB, free: 15.23 MB / 1.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009643/6.871, allocations: 2.249 MB / 3.151 GB, free: 12.97 MB / 1.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004435/6.876, allocations: 155.7 kB / 3.151 GB, free: 12.82 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008474/6.884, allocations: 179.8 kB / 3.151 GB, free: 12.64 MB / 1.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/6.886, allocations: 408.6 kB / 3.151 GB, free: 12.27 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001411/6.887, allocations: 264.2 kB / 3.152 GB, free: 12.01 MB / 1.87 GB Notification: Performance of sorting global known variables: time 0.02747/6.915, allocations: 9.161 MB / 3.161 GB, free: 2.93 MB / 1.87 GB Notification: Performance of sort global known variables: time 2.21e-07/6.915, allocations: 4 kB / 3.161 GB, free: 2.926 MB / 1.87 GB Notification: Performance of remove unused functions: time 0.02699/6.942, allocations: 5.874 MB / 3.166 GB, free: 13.04 MB / 1.885 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.01545/6.957, allocations: 4.645 MB / 3.171 GB, free: 8.848 MB / 1.885 GB Notification: Performance of simCode: created initialization part: time 0.01374/6.971, allocations: 4.994 MB / 3.176 GB, free: 4.164 MB / 1.885 GB Notification: Performance of simCode: created event and clocks part: time 6.19e-05/6.971, allocations: 8 kB / 3.176 GB, free: 4.156 MB / 1.885 GB Notification: Performance of simCode: created simulation system equations: time 0.005953/6.977, allocations: 2.188 MB / 3.178 GB, free: 2.117 MB / 1.885 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04187/7.019, allocations: 6.071 MB / 3.184 GB, free: 12.3 MB / 1.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06514/7.084, allocations: 27.53 MB / 3.211 GB, free: 112 kB / 1.917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02121/7.105, allocations: 7.341 MB / 3.218 GB, free: 8.719 MB / 1.932 GB Notification: Performance of simCode: alias equations: time 0.01393/7.119, allocations: 2.446 MB / 3.22 GB, free: 6.352 MB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003654/7.123, allocations: 0.8434 MB / 3.221 GB, free: 5.512 MB / 1.932 GB Notification: Performance of SimCode: time 2.194e-06/7.123, allocations: 0 / 3.221 GB, free: 5.512 MB / 1.932 GB Notification: Performance of Templates: time 1.338/8.46, allocations: 260.5 MB / 3.475 GB, free: 1.105 GB / 2.026 GB " [Timeout remaining time 292] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] 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: 26.586696989950724]