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.265/2.265, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.0009942/0.0009942, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.000912/0.000912, allocations: 92.02 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.068e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.359, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.698/9.057, allocations: 3.174 GB / 4.392 GB, free: 17.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/9.058, allocations: 103.9 kB / 4.393 GB, free: 16.92 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 54.62/63.68, allocations: 10.72 GB / 15.11 GB, free: 76.38 MB / 1.823 GB Notification: Performance of FrontEnd: time 2.846e-06/63.68, allocations: 0 / 15.11 GB, free: 76.38 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.006425/63.69, allocations: 0.5668 MB / 15.12 GB, free: 76.27 MB / 1.823 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.08298/63.77, allocations: 17.88 MB / 15.13 GB, free: 68 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001006/63.77, allocations: 9.656 kB / 15.13 GB, free: 68 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/63.79, allocations: 2.631 MB / 15.14 GB, free: 66.93 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06755/63.86, allocations: 20.88 MB / 15.16 GB, free: 64.41 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001879/63.86, allocations: 1.011 MB / 15.16 GB, free: 64.38 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007281/63.87, allocations: 1.352 MB / 15.16 GB, free: 64.37 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05767/63.93, allocations: 13.76 MB / 15.17 GB, free: 62.24 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008326/63.93, allocations: 40.69 kB / 15.17 GB, free: 62.24 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004968/63.93, allocations: 0.5334 MB / 15.17 GB, free: 62.24 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004443/63.93, allocations: 343.1 kB / 15.17 GB, free: 62.24 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/63.96, allocations: 9.405 MB / 15.18 GB, free: 62.14 MB / 1.823 GB Warning: The model contains alias variables with conflicting start and/or 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.1315/64.09, allocations: 73.05 MB / 15.25 GB, free: 26.11 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/64.1, allocations: 4.86 MB / 15.26 GB, free: 25.37 MB / 1.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/64.1, allocations: 2.404 MB / 15.26 GB, free: 25.13 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08582/64.19, allocations: 51.51 MB / 15.31 GB, free: 18.53 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/64.19, allocations: 124.7 kB / 15.31 GB, free: 18.47 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 6.903e-06/64.19, allocations: 4 kB / 15.31 GB, free: 18.47 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.02059/64.21, allocations: 5.514 MB / 15.32 GB, free: 17.45 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004472/64.21, allocations: 0.7924 MB / 15.32 GB, free: 16.53 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04901/64.26, allocations: 14.44 MB / 15.33 GB, free: 15.54 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002445/64.26, allocations: 169.8 kB / 15.33 GB, free: 15.51 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01485/64.28, allocations: 9.067 MB / 15.34 GB, free: 13.12 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.003475/64.28, allocations: 1.501 MB / 15.34 GB, free: 12.17 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/64.28, allocations: 119.8 kB / 15.34 GB, free: 12.17 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.0004631/64.28, allocations: 0.5279 MB / 15.34 GB, free: 11.86 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/64.29, allocations: 1.884 MB / 15.34 GB, free: 11.84 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008111/64.29, allocations: 5.782 MB / 15.35 GB, free: 7.078 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/64.3, allocations: 2.949 MB / 15.35 GB, free: 6.766 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-05/64.3, allocations: 23.09 kB / 15.35 GB, free: 6.766 MB / 1.854 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02715/64.33, allocations: 7.805 MB / 15.36 GB, free: 5.316 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/64.33, allocations: 35.97 kB / 15.36 GB, free: 5.316 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/64.33, allocations: 72.41 kB / 15.36 GB, free: 5.316 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/64.33, allocations: 127.6 kB / 15.36 GB, free: 5.312 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006255/64.34, allocations: 1.415 MB / 15.36 GB, free: 5.207 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001807/64.34, allocations: 155.1 kB / 15.36 GB, free: 5.176 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.023/64.36, allocations: 1.817 MB / 15.36 GB, free: 4.402 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003318/64.36, allocations: 445.3 kB / 15.36 GB, free: 4.395 MB / 1.854 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 () * 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.005541/64.37, allocations: 0.6074 MB / 15.36 GB, free: 4.129 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009575/64.38, allocations: 1.661 MB / 15.37 GB, free: 3.246 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/64.4, allocations: 7.644 MB / 15.37 GB, free: 2.738 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003075/64.4, allocations: 81.98 kB / 15.37 GB, free: 2.738 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.342e-05/64.4, allocations: 9.438 kB / 15.37 GB, free: 2.738 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007104/64.41, allocations: 3.922 MB / 15.38 GB, free: 0.9453 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09742/64.51, allocations: 28.74 MB / 15.41 GB, free: 12.55 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002159/64.51, allocations: 33 kB / 15.41 GB, free: 12.55 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004112/64.51, allocations: 0.7806 MB / 15.41 GB, free: 12.49 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/64.51, allocations: 55.56 kB / 15.41 GB, free: 12.49 MB / 1.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001365/64.52, allocations: 156.8 kB / 15.41 GB, free: 12.49 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001137/64.52, allocations: 67.61 kB / 15.41 GB, free: 12.48 MB / 1.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/64.52, allocations: 57.69 kB / 15.41 GB, free: 12.46 MB / 1.87 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04021/64.56, allocations: 28.81 MB / 15.43 GB, free: 6.441 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01843/64.57, allocations: 3.068 MB / 15.44 GB, free: 5.324 MB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01114/64.59, allocations: 127.5 kB / 15.44 GB, free: 5.324 MB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02044/64.61, allocations: 0.6133 MB / 15.44 GB, free: 5.215 MB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002179/64.61, allocations: 414.1 kB / 15.44 GB, free: 5.145 MB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002217/64.61, allocations: 261.1 kB / 15.44 GB, free: 5.145 MB / 1.885 GB Notification: Performance of sorting global known variables: time 0.04057/64.65, allocations: 11.65 MB / 15.45 GB, free: 4.555 MB / 1.885 GB Notification: Performance of sort global known variables: time 6.81e-07/64.65, allocations: 1.938 kB / 15.45 GB, free: 4.555 MB / 1.885 GB Notification: Performance of remove unused functions: time 0.04411/64.7, allocations: 6.496 MB / 15.46 GB, free: 3.695 MB / 1.885 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 () * 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.04783/64.74, allocations: 20.91 MB / 15.48 GB, free: 5.172 MB / 1.901 GB Notification: Performance of simCode: created initialization part: time 0.01412/64.76, allocations: 5.427 MB / 15.48 GB, free: 4.781 MB / 1.901 GB Notification: Performance of simCode: created event and clocks part: time 5.028e-05/64.76, allocations: 6.781 kB / 15.48 GB, free: 4.781 MB / 1.901 GB Notification: Performance of simCode: created simulation system equations: time 0.005927/64.76, allocations: 2.623 MB / 15.48 GB, free: 4.609 MB / 1.901 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06335/64.83, allocations: 9.727 MB / 15.49 GB, free: 4.004 MB / 1.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07357/64.9, allocations: 22.72 MB / 15.52 GB, free: 12.9 MB / 1.917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01903/64.92, allocations: 8.11 MB / 15.52 GB, free: 11.56 MB / 1.917 GB Notification: Performance of simCode: alias equations: time 0.02761/64.95, allocations: 3.263 MB / 15.53 GB, free: 11.12 MB / 1.917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00609/64.95, allocations: 1.084 MB / 15.53 GB, free: 11.11 MB / 1.917 GB Notification: Performance of SimCode: time 1.112e-06/64.95, allocations: 1.188 kB / 15.53 GB, free: 11.11 MB / 1.917 GB Notification: Performance of Templates: time 4.597/69.55, allocations: 419.6 MB / 15.94 GB, free: 354.7 MB / 1.948 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