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.001886/0.001886, allocations: 114.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.001555/0.001555, allocations: 196.7 kB / 22.17 MB, free: 5.656 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.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.235/3.235, allocations: 497.2 MB / 0.7845 GB, free: 33.37 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.001948/0.001948, allocations: 72.75 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3913, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.425/3.816, allocations: 1.395 GB / 2.704 GB, free: 23.57 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 1.679/5.495, allocations: 337.8 MB / 3.034 GB, free: 32.16 MB / 1.982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04642/5.542, allocations: 1.224 MB / 3.035 GB, free: 32.16 MB / 1.982 GB Notification: Performance of NFTyping.typeComponents: time 0.03626/5.578, allocations: 13.68 MB / 3.049 GB, free: 32.15 MB / 1.982 GB Notification: Performance of NFTyping.typeBindings: time 0.1037/5.682, allocations: 33.79 MB / 3.082 GB, free: 31.91 MB / 1.982 GB Notification: Performance of NFTyping.typeClassSections: time 0.05249/5.734, allocations: 20.41 MB / 3.102 GB, free: 31.36 MB / 1.982 GB Notification: Performance of NFFlatten.flatten: time 0.09127/5.825, allocations: 57.83 MB / 3.158 GB, free: 31.23 MB / 1.982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04937/5.875, allocations: 16.89 MB / 3.175 GB, free: 29.92 MB / 1.982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07982/5.954, allocations: 28.24 MB / 3.202 GB, free: 28.33 MB / 1.982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04044/5.995, allocations: 18.25 MB / 3.22 GB, free: 24.68 MB / 1.982 GB Notification: Performance of NFPackage.collectConstants: time 0.009614/6.005, allocations: 2.131 MB / 3.222 GB, free: 24.68 MB / 1.982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04903/6.054, allocations: 18.2 MB / 3.24 GB, free: 24.45 MB / 1.982 GB Notification: Performance of NFScalarize.scalarize: time 0.01153/6.065, allocations: 5.095 MB / 3.245 GB, free: 23.51 MB / 1.982 GB Notification: Performance of NFVerifyModel.verify: time 0.02983/6.095, allocations: 11.19 MB / 3.256 GB, free: 20.55 MB / 1.982 GB Notification: Performance of NFConvertDAE.convert: time 0.09022/6.185, allocations: 41.17 MB / 3.296 GB, free: 3.41 MB / 1.982 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/6.185, allocations: 0 / 3.296 GB, free: 3.41 MB / 1.982 GB Notification: Performance of FrontEnd: time 2.134e-06/6.185, allocations: 0 / 3.296 GB, free: 3.41 MB / 1.982 GB Notification: Performance of Transformations before backend: time 0.00139/6.187, allocations: 0 / 3.296 GB, free: 3.41 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.06835/6.255, allocations: 21.57 MB / 3.317 GB, free: 8.121 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/6.255, allocations: 8.719 kB / 3.317 GB, free: 8.121 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/6.267, allocations: 2.352 MB / 3.319 GB, free: 6.934 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0454/6.313, allocations: 19.04 MB / 3.338 GB, free: 14.72 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/6.314, allocations: 0.9732 MB / 3.339 GB, free: 14.16 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/6.319, allocations: 1.297 MB / 3.34 GB, free: 13.27 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0497/6.369, allocations: 14.61 MB / 3.354 GB, free: 444 kB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000529/6.37, allocations: 36.53 kB / 3.355 GB, free: 428 kB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004553/6.374, allocations: 0.5357 MB / 3.355 GB, free: 15.88 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004395/6.375, allocations: 351.3 kB / 3.355 GB, free: 15.55 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/6.4, allocations: 10.1 MB / 3.365 GB, free: 5.684 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.1325/6.533, allocations: 76.67 MB / 3.44 GB, free: 6.316 MB / 2.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008327/6.541, allocations: 4.356 MB / 3.444 GB, free: 1.785 MB / 2.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004299/6.546, allocations: 2.309 MB / 3.447 GB, free: 15.41 MB / 2.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1027/6.648, allocations: 51.68 MB / 3.497 GB, free: 4.426 MB / 2.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/6.649, allocations: 118 kB / 3.497 GB, free: 4.312 MB / 2.17 GB Notification: Performance of pre-optimization done (n=412): time 1.985e-05/6.649, allocations: 0 / 3.497 GB, free: 4.312 MB / 2.17 GB Notification: Performance of matching and sorting (n=412): time 0.02188/6.67, allocations: 7.078 MB / 3.504 GB, free: 13.29 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005477/6.671, allocations: 0.7912 MB / 3.505 GB, free: 12.33 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04619/6.717, allocations: 16.68 MB / 3.521 GB, free: 11.75 MB / 2.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00147/6.719, allocations: 141.7 kB / 3.521 GB, free: 11.6 MB / 2.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01507/6.734, allocations: 8.692 MB / 3.53 GB, free: 2.906 MB / 2.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003931/6.738, allocations: 1.529 MB / 3.531 GB, free: 1.398 MB / 2.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007322/6.745, allocations: 1.5 MB / 3.533 GB, free: 15.89 MB / 2.217 GB Notification: Performance of setup shared object (initialization): time 0.0001512/6.745, allocations: 301.1 kB / 3.533 GB, free: 15.59 MB / 2.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/6.75, allocations: 2.082 MB / 3.535 GB, free: 13.51 MB / 2.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00943/6.76, allocations: 5.285 MB / 3.54 GB, free: 6.93 MB / 2.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/6.772, allocations: 7.129 MB / 3.547 GB, free: 15.04 MB / 2.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/6.772, allocations: 24 kB / 3.547 GB, free: 15.02 MB / 2.232 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02595/6.798, allocations: 8.451 MB / 3.555 GB, free: 7.059 MB / 2.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/6.798, allocations: 44.06 kB / 3.556 GB, free: 7.016 MB / 2.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/6.798, allocations: 80 kB / 3.556 GB, free: 6.938 MB / 2.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/6.798, allocations: 120 kB / 3.556 GB, free: 6.82 MB / 2.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/6.805, allocations: 1.458 MB / 3.557 GB, free: 5.473 MB / 2.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002794/6.805, allocations: 165.8 kB / 3.557 GB, free: 5.344 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01554/6.821, allocations: 1.364 MB / 3.559 GB, free: 3.973 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/6.823, allocations: 394.8 kB / 3.559 GB, free: 3.59 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.01268/6.836, allocations: 3.573 MB / 3.562 GB, free: 116 kB / 2.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007684/6.843, allocations: 1.743 MB / 3.564 GB, free: 14.36 MB / 2.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/6.866, allocations: 7.552 MB / 3.572 GB, free: 6.98 MB / 2.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000283/6.866, allocations: 87.94 kB / 3.572 GB, free: 6.895 MB / 2.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-05/6.866, allocations: 11.94 kB / 3.572 GB, free: 6.883 MB / 2.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00669/6.873, allocations: 3.835 MB / 3.575 GB, free: 2.75 MB / 2.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07313/6.946, allocations: 28.8 MB / 3.604 GB, free: 5.832 MB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000197/6.946, allocations: 35.94 kB / 3.604 GB, free: 5.797 MB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003767/6.95, allocations: 0.7766 MB / 3.604 GB, free: 5.07 MB / 2.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/6.95, allocations: 48 kB / 3.604 GB, free: 5.023 MB / 2.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009485/6.951, allocations: 155.9 kB / 3.605 GB, free: 4.871 MB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000102/6.951, allocations: 70.61 kB / 3.605 GB, free: 4.816 MB / 2.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.882e-05/6.951, allocations: 49.56 kB / 3.605 GB, free: 4.781 MB / 2.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/6.976, allocations: 12.05 MB / 3.616 GB, free: 8.184 MB / 2.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01026/6.986, allocations: 2.936 MB / 3.619 GB, free: 5.215 MB / 2.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005497/6.992, allocations: 155.7 kB / 3.619 GB, free: 5.062 MB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01035/7.002, allocations: 259.6 kB / 3.62 GB, free: 4.809 MB / 2.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/7.003, allocations: 400.2 kB / 3.62 GB, free: 4.441 MB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001177/7.005, allocations: 259.8 kB / 3.62 GB, free: 4.188 MB / 2.295 GB Notification: Performance of sorting global known variables: time 0.03203/7.037, allocations: 11.85 MB / 3.632 GB, free: 8.434 MB / 2.311 GB Notification: Performance of sort global known variables: time 4.21e-07/7.037, allocations: 0 / 3.632 GB, free: 8.434 MB / 2.311 GB Notification: Performance of remove unused functions: time 0.02358/7.06, allocations: 5.411 MB / 3.637 GB, free: 3.012 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.0142/7.074, allocations: 4.454 MB / 3.642 GB, free: 14.97 MB / 2.326 GB Notification: Performance of simCode: created initialization part: time 0.01358/7.088, allocations: 5.47 MB / 3.647 GB, free: 9.82 MB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-05/7.088, allocations: 8 kB / 3.647 GB, free: 9.812 MB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.005631/7.094, allocations: 2.419 MB / 3.649 GB, free: 7.551 MB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06447/7.158, allocations: 10.01 MB / 3.659 GB, free: 13.7 MB / 2.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07689/7.235, allocations: 28.83 MB / 3.687 GB, free: 0.6562 MB / 2.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0207/7.256, allocations: 7.788 MB / 3.695 GB, free: 8.824 MB / 2.373 GB Notification: Performance of simCode: alias equations: time 0.01945/7.275, allocations: 3.243 MB / 3.698 GB, free: 5.605 MB / 2.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004181/7.279, allocations: 1.073 MB / 3.699 GB, free: 4.535 MB / 2.373 GB Notification: Performance of SimCode: time 1.453e-06/7.279, allocations: 0 / 3.699 GB, free: 4.535 MB / 2.373 GB Notification: Performance of Templates: time 2.018/9.298, allocations: 358.6 MB / 4.049 GB, free: 1.382 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 cvode -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: 30.444790842942894]