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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001084, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00922/0.00922, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.058/3.058, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 13.97 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3449, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.653/3.998, allocations: 1.342 GB / 2.401 GB, free: 54.39 MB / 1.498 GB Notification: Performance of NFInst.instExpressions: time 0.3578/4.356, allocations: 330.9 MB / 2.724 GB, free: 5.461 MB / 1.498 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06308/4.419, allocations: 1.055 MB / 2.725 GB, free: 4.398 MB / 1.498 GB Notification: Performance of NFTyping.typeComponents: time 0.03954/4.459, allocations: 10.81 MB / 2.735 GB, free: 10.02 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.1098/4.569, allocations: 29.43 MB / 2.764 GB, free: 1.148 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05804/4.627, allocations: 18.12 MB / 2.782 GB, free: 1.016 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.1006/4.727, allocations: 75.86 MB / 2.856 GB, free: 7.07 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0442/4.771, allocations: 18.39 MB / 2.874 GB, free: 4.812 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06076/4.832, allocations: 20.28 MB / 2.894 GB, free: 1.543 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03364/4.866, allocations: 16.9 MB / 2.91 GB, free: 1.781 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006316/4.872, allocations: 0.6367 MB / 2.911 GB, free: 1.145 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04339/4.916, allocations: 15.59 MB / 2.926 GB, free: 2.27 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.007434/4.923, allocations: 3.251 MB / 2.929 GB, free: 15.07 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02353/4.947, allocations: 9.345 MB / 2.938 GB, free: 5.746 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.06901/5.016, allocations: 38.96 MB / 2.976 GB, free: 84 kB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/5.016, allocations: 0 / 2.976 GB, free: 84 kB / 1.732 GB Notification: Performance of FrontEnd: time 3.306e-06/5.016, allocations: 3.938 kB / 2.976 GB, free: 80 kB / 1.732 GB Notification: Performance of Transformations before backend: time 0.00163/5.017, allocations: 4 kB / 2.976 GB, free: 76 kB / 1.732 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 1.119/6.136, allocations: 16.74 MB / 2.993 GB, free: 0.8549 GB / 1.733 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/6.137, allocations: 8.625 kB / 2.993 GB, free: 0.8549 GB / 1.733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/6.147, allocations: 2.254 MB / 2.995 GB, free: 0.8539 GB / 1.733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04396/6.191, allocations: 18.03 MB / 3.012 GB, free: 0.8483 GB / 1.733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001696/6.192, allocations: 0.9779 MB / 3.013 GB, free: 0.8479 GB / 1.733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00493/6.197, allocations: 1.293 MB / 3.015 GB, free: 0.8475 GB / 1.733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/6.238, allocations: 14.49 MB / 3.029 GB, free: 0.8399 GB / 1.733 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005407/6.239, allocations: 43.56 kB / 3.029 GB, free: 0.8398 GB / 1.733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002421/6.241, allocations: 0.5365 MB / 3.029 GB, free: 0.8395 GB / 1.733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/6.242, allocations: 343.1 kB / 3.03 GB, free: 0.8394 GB / 1.733 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/6.261, allocations: 10.09 MB / 3.04 GB, free: 0.8343 GB / 1.733 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.1033/6.365, allocations: 74.76 MB / 3.113 GB, free: 0.7706 GB / 1.733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006971/6.372, allocations: 4.561 MB / 3.117 GB, free: 0.768 GB / 1.733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/6.375, allocations: 2.448 MB / 3.119 GB, free: 0.7666 GB / 1.733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07736/6.453, allocations: 51.87 MB / 3.17 GB, free: 0.7142 GB / 1.733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/6.453, allocations: 121.5 kB / 3.17 GB, free: 0.7141 GB / 1.733 GB Notification: Performance of pre-optimization done (n=412): time 1.585e-05/6.453, allocations: 3.375 kB / 3.17 GB, free: 0.7141 GB / 1.733 GB Notification: Performance of matching and sorting (n=412): time 0.01602/6.469, allocations: 6.987 MB / 3.177 GB, free: 0.7072 GB / 1.733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/6.469, allocations: 0.7889 MB / 3.178 GB, free: 0.7063 GB / 1.733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03886/6.508, allocations: 16.44 MB / 3.194 GB, free: 0.6903 GB / 1.733 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/6.51, allocations: 137.7 kB / 3.194 GB, free: 0.6902 GB / 1.733 GB Notification: Performance of collectInitialEqns (initialization): time 0.008571/6.518, allocations: 8.651 MB / 3.202 GB, free: 0.6817 GB / 1.733 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/6.52, allocations: 1.454 MB / 3.204 GB, free: 0.6803 GB / 1.733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/6.521, allocations: 0.5106 MB / 3.204 GB, free: 0.6798 GB / 1.733 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/6.521, allocations: 301.1 kB / 3.205 GB, free: 0.6795 GB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/6.525, allocations: 2.043 MB / 3.207 GB, free: 0.6775 GB / 1.733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/6.53, allocations: 5.092 MB / 3.212 GB, free: 0.6714 GB / 1.733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007453/6.537, allocations: 6.883 MB / 3.218 GB, free: 0.6637 GB / 1.733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/6.537, allocations: 20 kB / 3.218 GB, free: 0.6637 GB / 1.733 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01911/6.557, allocations: 8.153 MB / 3.226 GB, free: 0.6557 GB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/6.557, allocations: 39.94 kB / 3.226 GB, free: 0.6557 GB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/6.557, allocations: 76 kB / 3.226 GB, free: 0.6556 GB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/6.557, allocations: 112 kB / 3.226 GB, free: 0.6555 GB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/6.562, allocations: 1.408 MB / 3.228 GB, free: 0.6541 GB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002144/6.563, allocations: 163.3 kB / 3.228 GB, free: 0.654 GB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01656/6.579, allocations: 1.864 MB / 3.23 GB, free: 0.6521 GB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/6.581, allocations: 379.9 kB / 3.23 GB, free: 0.6518 GB / 1.733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.009179/6.59, allocations: 3.546 MB / 3.234 GB, free: 0.6483 GB / 1.733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005203/6.595, allocations: 1.663 MB / 3.235 GB, free: 0.6467 GB / 1.733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/6.61, allocations: 7.558 MB / 3.243 GB, free: 0.6394 GB / 1.733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001805/6.61, allocations: 83.94 kB / 3.243 GB, free: 0.6394 GB / 1.733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/6.61, allocations: 8 kB / 3.243 GB, free: 0.6394 GB / 1.733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003997/6.614, allocations: 3.835 MB / 3.246 GB, free: 0.6353 GB / 1.733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05553/6.67, allocations: 28.67 MB / 3.274 GB, free: 0.6069 GB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001859/6.67, allocations: 31.98 kB / 3.274 GB, free: 0.6069 GB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/6.673, allocations: 0.7723 MB / 3.275 GB, free: 0.6061 GB / 1.733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/6.673, allocations: 52 kB / 3.275 GB, free: 0.6061 GB / 1.733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/6.675, allocations: 159.9 kB / 3.275 GB, free: 0.6059 GB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001098/6.675, allocations: 67.39 kB / 3.276 GB, free: 0.6059 GB / 1.733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.439e-05/6.675, allocations: 51.75 kB / 3.276 GB, free: 0.6058 GB / 1.733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/6.695, allocations: 11.95 MB / 3.287 GB, free: 0.5936 GB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01049/6.705, allocations: 3.105 MB / 3.29 GB, free: 0.5905 GB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005795/6.711, allocations: 128 kB / 3.29 GB, free: 0.5904 GB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01232/6.723, allocations: 0.6134 MB / 3.291 GB, free: 0.5898 GB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/6.724, allocations: 406.5 kB / 3.291 GB, free: 0.5894 GB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/6.725, allocations: 259.8 kB / 3.292 GB, free: 0.5892 GB / 1.733 GB Notification: Performance of sorting global known variables: time 0.02626/6.752, allocations: 11.7 MB / 3.303 GB, free: 0.5778 GB / 1.733 GB Notification: Performance of sort global known variables: time 6.92e-07/6.752, allocations: 0 / 3.303 GB, free: 0.5778 GB / 1.733 GB Notification: Performance of remove unused functions: time 0.02494/6.777, allocations: 5.285 MB / 3.308 GB, free: 0.5727 GB / 1.733 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.01375/6.79, allocations: 4.589 MB / 3.313 GB, free: 0.5685 GB / 1.733 GB Notification: Performance of simCode: created initialization part: time 0.0105/6.801, allocations: 5.511 MB / 3.318 GB, free: 0.5631 GB / 1.733 GB Notification: Performance of simCode: created event and clocks part: time 4.376e-05/6.801, allocations: 10.25 kB / 3.318 GB, free: 0.5631 GB / 1.733 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/6.805, allocations: 2.575 MB / 3.321 GB, free: 0.5606 GB / 1.733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1736/6.979, allocations: 12.41 MB / 3.333 GB, free: 0.549 GB / 1.733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05824/7.037, allocations: 34.29 MB / 3.366 GB, free: 0.5151 GB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/7.051, allocations: 7.811 MB / 3.374 GB, free: 0.5075 GB / 1.733 GB Notification: Performance of simCode: alias equations: time 0.0175/7.069, allocations: 3.225 MB / 3.377 GB, free: 0.5044 GB / 1.733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006511/7.075, allocations: 1.577 MB / 3.379 GB, free: 0.5029 GB / 1.733 GB Notification: Performance of SimCode: time 8.71e-07/7.075, allocations: 0 / 3.379 GB, free: 0.5029 GB / 1.733 GB Notification: Performance of Templates: time 0.6926/7.768, allocations: 477.6 MB / 3.845 GB, free: 40.62 MB / 1.733 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches