Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.417/2.417, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002337/0.002336, allocations: 187.9 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.854/1.854, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 104.9 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004093, allocations: 10.91 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3705, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.65/9.021, allocations: 3.174 GB / 4.403 GB, free: 75.48 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003992/9.021, allocations: 109.5 kB / 4.403 GB, free: 75.43 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 50.85/59.87, allocations: 10.76 GB / 15.16 GB, free: 87.74 MB / 1.839 GB Notification: Performance of FrontEnd: time 1.793e-06/59.87, allocations: 0 / 15.16 GB, free: 87.74 MB / 1.839 GB Notification: Performance of Transformations before backend: time 0.00509/59.88, allocations: 0.5632 MB / 15.16 GB, free: 87.62 MB / 1.839 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.08759/59.97, allocations: 20.83 MB / 15.18 GB, free: 78.03 MB / 1.839 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/59.97, allocations: 12.12 kB / 15.18 GB, free: 78.03 MB / 1.839 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/59.98, allocations: 2.632 MB / 15.19 GB, free: 76.97 MB / 1.839 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06499/60.05, allocations: 20.97 MB / 15.21 GB, free: 74.45 MB / 1.839 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002347/60.05, allocations: 1.014 MB / 15.21 GB, free: 74.42 MB / 1.839 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009787/60.06, allocations: 1.348 MB / 15.21 GB, free: 74.41 MB / 1.839 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06787/60.13, allocations: 13.94 MB / 15.22 GB, free: 72.28 MB / 1.839 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009903/60.13, allocations: 38.31 kB / 15.22 GB, free: 72.28 MB / 1.839 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005264/60.13, allocations: 0.5373 MB / 15.22 GB, free: 72.28 MB / 1.839 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005822/60.14, allocations: 349.4 kB / 15.22 GB, free: 72.28 MB / 1.839 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/60.16, allocations: 9.607 MB / 15.23 GB, free: 72.18 MB / 1.839 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.1185/60.28, allocations: 73.06 MB / 15.31 GB, free: 36.2 MB / 1.839 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/60.29, allocations: 4.882 MB / 15.31 GB, free: 35.52 MB / 1.839 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08349/60.37, allocations: 51.37 MB / 15.36 GB, free: 13.16 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/60.37, allocations: 121.3 kB / 15.36 GB, free: 13.11 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 3.473e-05/60.37, allocations: 0 / 15.36 GB, free: 13.11 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.02171/60.4, allocations: 7.048 MB / 15.37 GB, free: 12.11 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004926/60.4, allocations: 0.7932 MB / 15.37 GB, free: 11.2 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04547/60.44, allocations: 14.63 MB / 15.38 GB, free: 26.3 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.0023/60.44, allocations: 165.1 kB / 15.38 GB, free: 26.27 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.01315/60.46, allocations: 9.068 MB / 15.39 GB, free: 23.88 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.003005/60.46, allocations: 1.497 MB / 15.39 GB, free: 22.93 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/60.46, allocations: 128.6 kB / 15.39 GB, free: 22.92 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.0005002/60.46, allocations: 0.5307 MB / 15.39 GB, free: 22.6 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/60.47, allocations: 1.925 MB / 15.4 GB, free: 22.59 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006901/60.47, allocations: 5.835 MB / 15.4 GB, free: 17.88 MB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/60.48, allocations: 2.955 MB / 15.4 GB, free: 17.7 MB / 1.87 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-05/60.48, allocations: 22.5 kB / 15.4 GB, free: 17.7 MB / 1.87 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02295/60.5, allocations: 7.881 MB / 15.41 GB, free: 16.42 MB / 1.87 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/60.5, allocations: 35.84 kB / 15.41 GB, free: 16.42 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/60.5, allocations: 81.25 kB / 15.41 GB, free: 16.42 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/60.5, allocations: 119.6 kB / 15.41 GB, free: 16.42 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/60.51, allocations: 1.423 MB / 15.41 GB, free: 16.31 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001559/60.51, allocations: 157.4 kB / 15.41 GB, free: 16.28 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/60.53, allocations: 1.821 MB / 15.42 GB, free: 15.5 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/60.53, allocations: 443.1 kB / 15.42 GB, free: 15.5 MB / 1.87 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 (776): * Single equations (assignments): 776 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01635/60.55, allocations: 3.587 MB / 15.42 GB, free: 15.22 MB / 1.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008723/60.56, allocations: 1.659 MB / 15.42 GB, free: 14.34 MB / 1.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/60.58, allocations: 7.712 MB / 15.43 GB, free: 13.83 MB / 1.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001602/60.58, allocations: 84.5 kB / 15.43 GB, free: 13.83 MB / 1.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/60.58, allocations: 6.188 kB / 15.43 GB, free: 13.83 MB / 1.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005025/60.58, allocations: 3.943 MB / 15.43 GB, free: 12.04 MB / 1.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07757/60.66, allocations: 28.8 MB / 15.46 GB, free: 7.648 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002029/60.66, allocations: 34.59 kB / 15.46 GB, free: 7.645 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/60.66, allocations: 0.7735 MB / 15.46 GB, free: 7.594 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/60.66, allocations: 56.81 kB / 15.46 GB, free: 7.594 MB / 1.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/60.67, allocations: 157.2 kB / 15.46 GB, free: 7.59 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.804e-05/60.67, allocations: 74.56 kB / 15.46 GB, free: 7.574 MB / 1.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.485e-05/60.67, allocations: 48.31 kB / 15.46 GB, free: 7.562 MB / 1.87 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03736/60.7, allocations: 28.89 MB / 15.49 GB, free: 1.543 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01458/60.72, allocations: 3.065 MB / 15.49 GB, free: 440 kB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008295/60.73, allocations: 137.1 kB / 15.49 GB, free: 440 kB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01584/60.74, allocations: 0.6246 MB / 15.49 GB, free: 320 kB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001624/60.74, allocations: 403.2 kB / 15.49 GB, free: 252 kB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001578/60.75, allocations: 259.9 kB / 15.49 GB, free: 252 kB / 1.885 GB Notification: Performance of sorting global known variables: time 0.03899/60.78, allocations: 11.85 MB / 15.51 GB, free: 15.74 MB / 1.901 GB Notification: Performance of sort global known variables: time 1.102e-06/60.78, allocations: 4 kB / 15.51 GB, free: 15.74 MB / 1.901 GB Notification: Performance of remove unused functions: time 0.03982/60.82, allocations: 6.488 MB / 15.51 GB, free: 14.89 MB / 1.901 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,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,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse40.phase,$cse40.region,$cse35.phase,$cse35.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (493): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04879/60.87, allocations: 20.94 MB / 15.53 GB, free: 0.5312 MB / 1.901 GB Notification: Performance of simCode: created initialization part: time 0.01468/60.89, allocations: 5.488 MB / 15.54 GB, free: 156 kB / 1.901 GB Notification: Performance of simCode: created event and clocks part: time 6.429e-05/60.89, allocations: 8.188 kB / 15.54 GB, free: 156 kB / 1.901 GB Notification: Performance of simCode: created simulation system equations: time 0.005858/60.89, allocations: 2.66 MB / 15.54 GB, free: 15.97 MB / 1.917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05739/60.95, allocations: 9.729 MB / 15.55 GB, free: 15.36 MB / 1.917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07569/61.03, allocations: 32.49 MB / 15.58 GB, free: 15.97 MB / 1.932 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01898/61.05, allocations: 8.114 MB / 15.59 GB, free: 14.63 MB / 1.932 GB Notification: Performance of simCode: alias equations: time 0.02663/61.07, allocations: 3.268 MB / 15.59 GB, free: 14.13 MB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005856/61.08, allocations: 1.086 MB / 15.59 GB, free: 14.12 MB / 1.932 GB Notification: Performance of SimCode: time 1.252e-06/61.08, allocations: 4 kB / 15.59 GB, free: 14.12 MB / 1.932 GB Notification: Performance of Templates: time 2.256/63.33, allocations: 403.6 MB / 15.99 GB, free: 375.6 MB / 1.964 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches