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.001903/0.001903, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002309/0.002309, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.864/2.864, 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 2.034e-06/2.034e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.544e-05, allocations: 3.188 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.496/3.496, allocations: 1.249 GB / 2.06 GB, free: 89.99 MB / 1.432 GB Notification: Performance of NFInst.instExpressions: time 0.3883/3.884, allocations: 311.5 MB / 2.364 GB, free: 53.05 MB / 1.432 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0585/3.943, allocations: 1.69 MB / 2.366 GB, free: 53.05 MB / 1.432 GB Notification: Performance of NFTyping.typeComponents: time 0.03964/3.982, allocations: 13.6 MB / 2.379 GB, free: 44.94 MB / 1.432 GB Notification: Performance of NFTyping.typeBindings: time 0.09628/4.079, allocations: 34.76 MB / 2.413 GB, free: 21.91 MB / 1.432 GB Notification: Performance of NFTyping.typeClassSections: time 0.04651/4.125, allocations: 20.92 MB / 2.433 GB, free: 3.473 MB / 1.432 GB Notification: Performance of NFFlatten.flatten: time 0.09716/4.222, allocations: 58.71 MB / 2.491 GB, free: 10.42 MB / 1.495 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04904/4.271, allocations: 17.23 MB / 2.508 GB, free: 9.727 MB / 1.51 GB Notification: Performance of NFEvalConstants.evaluate: time 0.116/4.387, allocations: 36.89 MB / 2.544 GB, free: 6.902 MB / 1.542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04208/4.429, allocations: 16.04 MB / 2.559 GB, free: 7.281 MB / 1.557 GB Notification: Performance of NFPackage.collectConstants: time 0.01084/4.44, allocations: 2.164 MB / 2.561 GB, free: 5.117 MB / 1.557 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05573/4.496, allocations: 15.75 MB / 2.577 GB, free: 5.34 MB / 1.573 GB Notification: Performance of NFScalarize.scalarize: time 0.01229/4.508, allocations: 5.288 MB / 2.582 GB, free: 32 kB / 1.573 GB Notification: Performance of NFVerifyModel.verify: time 0.02582/4.534, allocations: 7.405 MB / 2.589 GB, free: 8.609 MB / 1.589 GB Notification: Performance of NFConvertDAE.convert: time 0.09926/4.633, allocations: 42.81 MB / 2.631 GB, free: 13.68 MB / 1.635 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/4.633, allocations: 0 / 2.631 GB, free: 13.68 MB / 1.635 GB Notification: Performance of FrontEnd: time 1.944e-06/4.633, allocations: 4 kB / 2.631 GB, free: 13.67 MB / 1.635 GB Notification: Performance of Transformations before backend: time 0.001271/4.635, allocations: 4 kB / 2.631 GB, free: 13.67 MB / 1.635 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.06346/4.698, allocations: 21.42 MB / 2.652 GB, free: 8.004 MB / 1.651 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/4.698, allocations: 8.031 kB / 2.652 GB, free: 7.996 MB / 1.651 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/4.713, allocations: 3.469 MB / 2.655 GB, free: 4.512 MB / 1.651 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0506/4.764, allocations: 20.87 MB / 2.676 GB, free: 15.49 MB / 1.682 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/4.765, allocations: 0.9817 MB / 2.677 GB, free: 14.5 MB / 1.682 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005063/4.77, allocations: 1.348 MB / 2.678 GB, free: 13.16 MB / 1.682 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4665/5.237, allocations: 17.05 MB / 2.695 GB, free: 0.8938 GB / 1.682 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004932/5.237, allocations: 48.38 kB / 2.695 GB, free: 0.8938 GB / 1.682 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/5.24, allocations: 0.5289 MB / 2.695 GB, free: 0.8934 GB / 1.682 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/5.24, allocations: 349.5 kB / 2.696 GB, free: 0.8934 GB / 1.682 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/5.259, allocations: 10.08 MB / 2.705 GB, free: 0.8895 GB / 1.682 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.08155/5.341, allocations: 57.78 MB / 2.762 GB, free: 0.8524 GB / 1.682 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008154/5.349, allocations: 4.331 MB / 2.766 GB, free: 0.8504 GB / 1.682 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/5.353, allocations: 2.297 MB / 2.768 GB, free: 0.8494 GB / 1.682 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07118/5.424, allocations: 22.91 MB / 2.791 GB, free: 0.8461 GB / 1.682 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/5.424, allocations: 125.3 kB / 2.791 GB, free: 0.846 GB / 1.682 GB Notification: Performance of pre-optimization done (n=412): time 1.058e-05/5.424, allocations: 0 / 2.791 GB, free: 0.846 GB / 1.682 GB Notification: Performance of matching and sorting (n=412): time 0.01539/5.439, allocations: 6.853 MB / 2.797 GB, free: 0.8427 GB / 1.682 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/5.44, allocations: 0.7899 MB / 2.798 GB, free: 0.8418 GB / 1.682 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.023/5.463, allocations: 12 MB / 2.81 GB, free: 0.8333 GB / 1.682 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/5.464, allocations: 145.7 kB / 2.81 GB, free: 0.8331 GB / 1.682 GB Notification: Performance of collectInitialEqns (initialization): time 0.007209/5.471, allocations: 8.754 MB / 2.819 GB, free: 0.8248 GB / 1.682 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/5.473, allocations: 1.511 MB / 2.82 GB, free: 0.8233 GB / 1.682 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/5.476, allocations: 1.511 MB / 2.822 GB, free: 0.8218 GB / 1.682 GB Notification: Performance of setup shared object (initialization): time 4.142e-05/5.476, allocations: 305.1 kB / 2.822 GB, free: 0.8215 GB / 1.682 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/5.479, allocations: 2.086 MB / 2.824 GB, free: 0.8195 GB / 1.682 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005809/5.485, allocations: 10.42 MB / 2.834 GB, free: 0.8068 GB / 1.682 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/5.492, allocations: 7.141 MB / 2.841 GB, free: 0.7988 GB / 1.682 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.746e-05/5.492, allocations: 27.94 kB / 2.841 GB, free: 0.7988 GB / 1.682 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0172/5.51, allocations: 8.385 MB / 2.849 GB, free: 0.7907 GB / 1.682 GB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/5.51, allocations: 40 kB / 2.849 GB, free: 0.7906 GB / 1.682 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/5.51, allocations: 83.31 kB / 2.849 GB, free: 0.7906 GB / 1.682 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/5.51, allocations: 120 kB / 2.85 GB, free: 0.7904 GB / 1.682 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/5.514, allocations: 1.455 MB / 2.851 GB, free: 0.789 GB / 1.682 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/5.515, allocations: 171.2 kB / 2.851 GB, free: 0.7889 GB / 1.682 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00886/5.523, allocations: 0.81 MB / 2.852 GB, free: 0.7881 GB / 1.682 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/5.525, allocations: 391.9 kB / 2.852 GB, free: 0.7877 GB / 1.682 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.00731/5.532, allocations: 3.585 MB / 2.856 GB, free: 0.7842 GB / 1.682 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004424/5.536, allocations: 1.486 MB / 2.857 GB, free: 0.7827 GB / 1.682 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/5.547, allocations: 7.439 MB / 2.865 GB, free: 0.7756 GB / 1.682 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.048e-05/5.547, allocations: 83.94 kB / 2.865 GB, free: 0.7755 GB / 1.682 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/5.547, allocations: 8 kB / 2.865 GB, free: 0.7755 GB / 1.682 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003168/5.551, allocations: 3.887 MB / 2.868 GB, free: 0.7714 GB / 1.682 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04132/5.592, allocations: 25.43 MB / 2.893 GB, free: 0.7463 GB / 1.682 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-05/5.592, allocations: 35.94 kB / 2.893 GB, free: 0.7462 GB / 1.682 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/5.595, allocations: 0.7761 MB / 2.894 GB, free: 0.7455 GB / 1.682 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.062e-05/5.595, allocations: 52 kB / 2.894 GB, free: 0.7454 GB / 1.682 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/5.595, allocations: 152 kB / 2.894 GB, free: 0.7453 GB / 1.682 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.338e-05/5.595, allocations: 67.78 kB / 2.894 GB, free: 0.7452 GB / 1.682 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-05/5.595, allocations: 51.75 kB / 2.894 GB, free: 0.7452 GB / 1.682 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/5.608, allocations: 11.83 MB / 2.906 GB, free: 0.733 GB / 1.682 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005663/5.614, allocations: 2.282 MB / 2.908 GB, free: 0.7308 GB / 1.682 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002944/5.617, allocations: 155.8 kB / 2.908 GB, free: 0.7307 GB / 1.682 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006826/5.623, allocations: 174.8 kB / 2.908 GB, free: 0.7305 GB / 1.682 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/5.624, allocations: 414.5 kB / 2.909 GB, free: 0.7301 GB / 1.682 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006054/5.625, allocations: 255.9 kB / 2.909 GB, free: 0.7299 GB / 1.682 GB Notification: Performance of sorting global known variables: time 0.02301/5.648, allocations: 8.142 MB / 2.917 GB, free: 0.722 GB / 1.682 GB Notification: Performance of sort global known variables: time 4.5e-07/5.648, allocations: 0 / 2.917 GB, free: 0.722 GB / 1.682 GB Notification: Performance of remove unused functions: time 0.02763/5.675, allocations: 5.901 MB / 2.923 GB, free: 0.7162 GB / 1.682 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.01531/5.691, allocations: 4.644 MB / 2.927 GB, free: 0.7124 GB / 1.682 GB Notification: Performance of simCode: created initialization part: time 0.01153/5.702, allocations: 5.537 MB / 2.933 GB, free: 0.707 GB / 1.682 GB Notification: Performance of simCode: created event and clocks part: time 4.897e-05/5.702, allocations: 8 kB / 2.933 GB, free: 0.707 GB / 1.682 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/5.706, allocations: 2.473 MB / 2.935 GB, free: 0.7046 GB / 1.682 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03022/5.736, allocations: 6.053 MB / 2.941 GB, free: 0.6992 GB / 1.682 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04797/5.784, allocations: 28.06 MB / 2.968 GB, free: 0.6712 GB / 1.682 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01826/5.802, allocations: 7.545 MB / 2.976 GB, free: 0.6638 GB / 1.682 GB Notification: Performance of simCode: alias equations: time 0.01495/5.817, allocations: 2.596 MB / 2.978 GB, free: 0.6614 GB / 1.682 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003633/5.821, allocations: 0.8402 MB / 2.979 GB, free: 0.6606 GB / 1.682 GB Notification: Performance of SimCode: time 1.052e-06/5.821, allocations: 4 kB / 2.979 GB, free: 0.6606 GB / 1.682 GB Notification: Performance of Templates: time 0.3487/6.17, allocations: 261 MB / 3.234 GB, free: 418.2 MB / 1.682 GB " [Timeout remaining time 294] 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: 24.384726274060085]