Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Experimental.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_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.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_9_Buildings.Experimental.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.001613/0.001613, allocations: 109.9 kB / 15.99 MB, free: 6.348 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.001811/0.001811, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 68.22 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.588/3.911, allocations: 1.336 GB / 2.286 GB, free: 69.41 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.42/4.331, allocations: 327.9 MB / 2.606 GB, free: 14.16 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05534/4.387, allocations: 1.055 MB / 2.607 GB, free: 13.1 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.04189/4.429, allocations: 11.3 MB / 2.618 GB, free: 1.742 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.103/4.532, allocations: 29.91 MB / 2.647 GB, free: 3.742 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.04943/4.581, allocations: 17.39 MB / 2.664 GB, free: 2.508 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 1.316/5.898, allocations: 56.79 MB / 2.72 GB, free: 28.02 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06058/5.958, allocations: 21.89 MB / 2.741 GB, free: 41.33 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07955/6.038, allocations: 24.76 MB / 2.765 GB, free: 41.2 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04258/6.08, allocations: 18.11 MB / 2.783 GB, free: 37.61 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.01146/6.092, allocations: 2.051 MB / 2.785 GB, free: 37.61 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0541/6.146, allocations: 17.95 MB / 2.802 GB, free: 37.6 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01228/6.158, allocations: 4.759 MB / 2.807 GB, free: 36.88 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.03082/6.189, allocations: 10.88 MB / 2.818 GB, free: 34.01 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05445/6.244, allocations: 33.26 MB / 2.85 GB, free: 33.2 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/6.244, allocations: 0 / 2.85 GB, free: 33.2 MB / 1.623 GB Notification: Performance of FrontEnd: time 3.316e-06/6.244, allocations: 2.719 kB / 2.85 GB, free: 33.2 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.001284/6.245, allocations: 0 / 2.85 GB, free: 33.2 MB / 1.623 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.07462/6.32, allocations: 20.33 MB / 2.87 GB, free: 25.04 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/6.32, allocations: 7.938 kB / 2.87 GB, free: 25.04 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/6.332, allocations: 2.188 MB / 2.872 GB, free: 24 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03889/6.371, allocations: 17.46 MB / 2.889 GB, free: 21.36 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/6.372, allocations: 0.946 MB / 2.89 GB, free: 21.34 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005753/6.378, allocations: 1.254 MB / 2.891 GB, free: 21.33 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04591/6.424, allocations: 13.97 MB / 2.905 GB, free: 17.58 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007044/6.425, allocations: 38.06 kB / 2.905 GB, free: 17.58 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004232/6.429, allocations: 0.5055 MB / 2.906 GB, free: 17.58 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/6.429, allocations: 338.2 kB / 2.906 GB, free: 17.57 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/6.45, allocations: 9.683 MB / 2.915 GB, free: 11.84 MB / 1.623 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.1092/6.559, allocations: 70.48 MB / 2.984 GB, free: 2.074 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008028/6.568, allocations: 4.57 MB / 2.989 GB, free: 14.79 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004331/6.572, allocations: 2.435 MB / 2.991 GB, free: 13.14 MB / 1.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08913/6.661, allocations: 51.49 MB / 3.041 GB, free: 3.262 MB / 1.732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/6.661, allocations: 125.4 kB / 3.041 GB, free: 3.18 MB / 1.732 GB Notification: Performance of pre-optimization done (n=412): time 2.225e-05/6.661, allocations: 0 / 3.041 GB, free: 3.18 MB / 1.732 GB Notification: Performance of matching and sorting (n=412): time 0.01939/6.681, allocations: 6.946 MB / 3.048 GB, free: 14.11 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000409/6.681, allocations: 0.7888 MB / 3.049 GB, free: 13.15 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04255/6.724, allocations: 15.97 MB / 3.065 GB, free: 13.32 MB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.001643/6.725, allocations: 137.7 kB / 3.065 GB, free: 13.18 MB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.01361/6.739, allocations: 8.306 MB / 3.073 GB, free: 4.938 MB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.003135/6.742, allocations: 1.451 MB / 3.074 GB, free: 3.5 MB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004564/6.747, allocations: 1.372 MB / 3.076 GB, free: 2.113 MB / 1.764 GB Notification: Performance of setup shared object (initialization): time 0.000114/6.747, allocations: 303.9 kB / 3.076 GB, free: 1.816 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/6.751, allocations: 1.972 MB / 3.078 GB, free: 15.84 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007954/6.759, allocations: 4.736 MB / 3.082 GB, free: 10.02 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/6.769, allocations: 6.428 MB / 3.089 GB, free: 3.004 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.726e-05/6.769, allocations: 24 kB / 3.089 GB, free: 2.98 MB / 1.779 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02288/6.792, allocations: 7.743 MB / 3.096 GB, free: 11.66 MB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.248e-05/6.792, allocations: 36.06 kB / 3.096 GB, free: 11.62 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/6.792, allocations: 71.47 kB / 3.096 GB, free: 11.55 MB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/6.792, allocations: 96 kB / 3.096 GB, free: 11.46 MB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005341/6.798, allocations: 1.324 MB / 3.098 GB, free: 10.23 MB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001899/6.798, allocations: 144.1 kB / 3.098 GB, free: 10.12 MB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/6.814, allocations: 1.681 MB / 3.099 GB, free: 8.434 MB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/6.816, allocations: 355.9 kB / 3.1 GB, free: 8.086 MB / 1.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.01145/6.827, allocations: 3.382 MB / 3.103 GB, free: 4.789 MB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006872/6.834, allocations: 1.613 MB / 3.105 GB, free: 3.156 MB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/6.853, allocations: 7.54 MB / 3.112 GB, free: 11.86 MB / 1.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002402/6.853, allocations: 79.94 kB / 3.112 GB, free: 11.78 MB / 1.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/6.853, allocations: 8 kB / 3.112 GB, free: 11.77 MB / 1.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00574/6.859, allocations: 3.847 MB / 3.116 GB, free: 7.625 MB / 1.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06295/6.922, allocations: 28.36 MB / 3.144 GB, free: 11.13 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001182/6.922, allocations: 32 kB / 3.144 GB, free: 11.1 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/6.926, allocations: 0.773 MB / 3.144 GB, free: 10.38 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/6.926, allocations: 48 kB / 3.144 GB, free: 10.33 MB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000947/6.927, allocations: 155.9 kB / 3.145 GB, free: 10.18 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-05/6.927, allocations: 79.75 kB / 3.145 GB, free: 10.12 MB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-05/6.927, allocations: 51.09 kB / 3.145 GB, free: 10.08 MB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/6.95, allocations: 11.9 MB / 3.156 GB, free: 13.61 MB / 1.857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01032/6.96, allocations: 2.798 MB / 3.159 GB, free: 10.77 MB / 1.857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005692/6.966, allocations: 159.5 kB / 3.159 GB, free: 10.62 MB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01213/6.978, allocations: 0.5454 MB / 3.16 GB, free: 10.07 MB / 1.857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/6.98, allocations: 405.1 kB / 3.16 GB, free: 9.699 MB / 1.857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009494/6.981, allocations: 263.8 kB / 3.16 GB, free: 9.441 MB / 1.857 GB Notification: Performance of sorting global known variables: time 0.03054/7.011, allocations: 11.38 MB / 3.172 GB, free: 14.14 MB / 1.873 GB Notification: Performance of sort global known variables: time 1.162e-06/7.011, allocations: 2.344 kB / 3.172 GB, free: 14.14 MB / 1.873 GB Notification: Performance of remove unused functions: time 0.02422/7.035, allocations: 5.233 MB / 3.177 GB, free: 8.906 MB / 1.873 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.01593/7.051, allocations: 4.428 MB / 3.181 GB, free: 4.949 MB / 1.873 GB Notification: Performance of simCode: created initialization part: time 0.01334/7.065, allocations: 5.687 MB / 3.186 GB, free: 15.57 MB / 1.889 GB Notification: Performance of simCode: created event and clocks part: time 4.347e-05/7.065, allocations: 8.375 kB / 3.187 GB, free: 15.56 MB / 1.889 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/7.07, allocations: 2.59 MB / 3.189 GB, free: 13.13 MB / 1.889 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05817/7.128, allocations: 10 MB / 3.199 GB, free: 3.855 MB / 1.889 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06551/7.194, allocations: 32.92 MB / 3.231 GB, free: 2.59 MB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/7.21, allocations: 7.274 MB / 3.238 GB, free: 11.29 MB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004289/7.215, allocations: 1.089 MB / 3.239 GB, free: 10.2 MB / 1.936 GB Notification: Performance of SimCode: time 3.216e-06/7.215, allocations: 0 / 3.239 GB, free: 10.2 MB / 1.936 GB Notification: Performance of Templates: time 1.682/8.896, allocations: 312.7 MB / 3.545 GB, free: 1.106 GB / 2.061 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches