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.001741/0.001741, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001822/0.001822, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.691/1.691, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.206/2.206, allocations: 390.2 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 70.89 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.548/3.863, allocations: 1.349 GB / 2.299 GB, free: 76.58 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.3867/4.25, allocations: 330.5 MB / 2.622 GB, free: 15.36 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0592/4.309, allocations: 1.157 MB / 2.623 GB, free: 14.19 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.04321/4.353, allocations: 12.96 MB / 2.636 GB, free: 1.148 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.1094/4.462, allocations: 32.17 MB / 2.667 GB, free: 0.8633 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 1.332/5.794, allocations: 18.69 MB / 2.685 GB, free: 23.11 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1018/5.896, allocations: 56.51 MB / 2.74 GB, free: 22.96 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06361/5.96, allocations: 22.24 MB / 2.762 GB, free: 36.12 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07655/6.036, allocations: 24.67 MB / 2.786 GB, free: 35.8 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04318/6.08, allocations: 17.56 MB / 2.803 GB, free: 32.22 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.0125/6.092, allocations: 2.054 MB / 2.805 GB, free: 32.22 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05915/6.151, allocations: 17.74 MB / 2.823 GB, free: 32.22 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01588/6.167, allocations: 4.726 MB / 2.827 GB, free: 31.5 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.03185/6.199, allocations: 10.86 MB / 2.838 GB, free: 28.63 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.08274/6.282, allocations: 40.72 MB / 2.878 GB, free: 25.66 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/6.282, allocations: 3.938 kB / 2.878 GB, free: 25.66 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.395e-06/6.282, allocations: 0 / 2.878 GB, free: 25.66 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.001382/6.283, allocations: 0 / 2.878 GB, free: 25.66 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.06586/6.349, allocations: 20.34 MB / 2.898 GB, free: 17.39 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/6.349, allocations: 9.625 kB / 2.898 GB, free: 17.39 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/6.366, allocations: 2.179 MB / 2.9 GB, free: 16.36 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04396/6.41, allocations: 17.1 MB / 2.916 GB, free: 9.695 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/6.411, allocations: 0.947 MB / 2.917 GB, free: 9.145 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005391/6.416, allocations: 1.252 MB / 2.919 GB, free: 8.293 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/6.461, allocations: 14.08 MB / 2.932 GB, free: 14.21 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006848/6.462, allocations: 41.41 kB / 2.932 GB, free: 14.2 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003873/6.466, allocations: 0.5155 MB / 2.933 GB, free: 14.07 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003923/6.466, allocations: 335.5 kB / 2.933 GB, free: 13.75 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/6.489, allocations: 9.691 MB / 2.943 GB, free: 7.848 MB / 1.639 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.1094/6.599, allocations: 72.79 MB / 3.014 GB, free: 5.246 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007857/6.607, allocations: 4.561 MB / 3.018 GB, free: 0.5117 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004068/6.611, allocations: 2.443 MB / 3.021 GB, free: 14.01 MB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08925/6.7, allocations: 51.49 MB / 3.071 GB, free: 3.219 MB / 1.764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/6.7, allocations: 119.7 kB / 3.071 GB, free: 3.105 MB / 1.764 GB Notification: Performance of pre-optimization done (n=412): time 1.632e-05/6.7, allocations: 0 / 3.071 GB, free: 3.105 MB / 1.764 GB Notification: Performance of matching and sorting (n=412): time 0.02114/6.722, allocations: 6.958 MB / 3.078 GB, free: 12.22 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004906/6.722, allocations: 0.7975 MB / 3.078 GB, free: 11.26 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04438/6.767, allocations: 16.2 MB / 3.094 GB, free: 11.2 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001611/6.768, allocations: 137.7 kB / 3.094 GB, free: 11.05 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.01164/6.78, allocations: 8.354 MB / 3.103 GB, free: 2.781 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00288/6.783, allocations: 1.451 MB / 3.104 GB, free: 1.344 MB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003543/6.786, allocations: 1.424 MB / 3.105 GB, free: 15.91 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/6.786, allocations: 301.1 kB / 3.106 GB, free: 15.61 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/6.79, allocations: 2.011 MB / 3.108 GB, free: 13.6 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/6.796, allocations: 4.936 MB / 3.112 GB, free: 7.508 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009625/6.806, allocations: 6.67 MB / 3.119 GB, free: 200 kB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.764e-05/6.806, allocations: 20 kB / 3.119 GB, free: 180 kB / 1.811 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02329/6.829, allocations: 7.95 MB / 3.127 GB, free: 8.684 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/6.83, allocations: 36 kB / 3.127 GB, free: 8.648 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/6.83, allocations: 75.66 kB / 3.127 GB, free: 8.578 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/6.83, allocations: 105 kB / 3.127 GB, free: 8.477 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/6.836, allocations: 1.378 MB / 3.128 GB, free: 7.203 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002366/6.836, allocations: 153.9 kB / 3.128 GB, free: 7.082 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/6.851, allocations: 1.264 MB / 3.13 GB, free: 5.812 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002416/6.853, allocations: 367.9 kB / 3.13 GB, free: 5.453 MB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.01248/6.866, allocations: 3.405 MB / 3.133 GB, free: 2.141 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007506/6.873, allocations: 1.62 MB / 3.135 GB, free: 0.5 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/6.893, allocations: 7.555 MB / 3.142 GB, free: 9.18 MB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003012/6.893, allocations: 79.94 kB / 3.142 GB, free: 9.102 MB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/6.893, allocations: 8 kB / 3.142 GB, free: 9.094 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005743/6.899, allocations: 3.845 MB / 3.146 GB, free: 4.949 MB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06483/6.964, allocations: 28.46 MB / 3.174 GB, free: 8.348 MB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001719/6.964, allocations: 32 kB / 3.174 GB, free: 8.316 MB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/6.967, allocations: 0.7728 MB / 3.175 GB, free: 7.594 MB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-05/6.967, allocations: 52 kB / 3.175 GB, free: 7.543 MB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009354/6.968, allocations: 152 kB / 3.175 GB, free: 7.395 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-05/6.968, allocations: 77.88 kB / 3.175 GB, free: 7.332 MB / 1.873 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.917e-05/6.968, allocations: 55.56 kB / 3.175 GB, free: 7.293 MB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/6.993, allocations: 11.91 MB / 3.187 GB, free: 10.82 MB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01096/7.004, allocations: 2.821 MB / 3.189 GB, free: 7.957 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007682/7.012, allocations: 151.7 kB / 3.19 GB, free: 7.809 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01247/7.024, allocations: 215.5 kB / 3.19 GB, free: 7.598 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/7.026, allocations: 403.7 kB / 3.19 GB, free: 7.23 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001474/7.028, allocations: 263.9 kB / 3.19 GB, free: 6.973 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.03211/7.06, allocations: 11.54 MB / 3.202 GB, free: 11.52 MB / 1.904 GB Notification: Performance of sort global known variables: time 7.02e-07/7.06, allocations: 0 / 3.202 GB, free: 11.52 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.02622/7.086, allocations: 5.289 MB / 3.207 GB, free: 6.223 MB / 1.904 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.01738/7.103, allocations: 4.541 MB / 3.211 GB, free: 2.16 MB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.01454/7.118, allocations: 5.775 MB / 3.217 GB, free: 12.71 MB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 5.97e-05/7.118, allocations: 8 kB / 3.217 GB, free: 12.71 MB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00546/7.124, allocations: 2.582 MB / 3.22 GB, free: 10.29 MB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06399/7.188, allocations: 10.02 MB / 3.229 GB, free: 0.8047 MB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06633/7.254, allocations: 27.75 MB / 3.256 GB, free: 4.707 MB / 1.951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01878/7.273, allocations: 7.271 MB / 3.263 GB, free: 13.4 MB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004904/7.278, allocations: 1.096 MB / 3.265 GB, free: 12.31 MB / 1.967 GB Notification: Performance of SimCode: time 1.222e-06/7.278, allocations: 0 / 3.265 GB, free: 12.31 MB / 1.967 GB Notification: Performance of Templates: time 1.16/8.438, allocations: 315.5 MB / 3.573 GB, free: 1.11 GB / 2.076 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