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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.000991/0.0009911, allocations: 173 kB / 492.3 MB, free: 0.6016 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.523/1.523, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008217/0.0008217, allocations: 92.27 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.435e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.151/8.445, allocations: 3.172 GB / 4.385 GB, free: 50.31 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/8.445, allocations: 103.9 kB / 4.385 GB, free: 50.25 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 52.99/61.43, allocations: 10.71 GB / 15.1 GB, free: 79.65 MB / 1.823 GB Notification: Performance of FrontEnd: time 1.483e-06/61.43, allocations: 0 / 15.1 GB, free: 79.65 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.005278/61.44, allocations: 0.5455 MB / 15.1 GB, free: 79.54 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: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.0809/61.52, allocations: 17.55 MB / 15.12 GB, free: 71.41 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/61.52, allocations: 9.25 kB / 15.12 GB, free: 71.41 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02488/61.54, allocations: 2.587 MB / 15.12 GB, free: 70.37 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06724/61.61, allocations: 20.29 MB / 15.14 GB, free: 67.95 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001736/61.61, allocations: 0.9834 MB / 15.14 GB, free: 67.92 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006365/61.62, allocations: 1.308 MB / 15.14 GB, free: 67.92 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05073/61.67, allocations: 13.27 MB / 15.16 GB, free: 65.75 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008392/61.67, allocations: 47.92 kB / 15.16 GB, free: 65.75 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004167/61.68, allocations: 0.5065 MB / 15.16 GB, free: 65.75 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004028/61.68, allocations: 335 kB / 15.16 GB, free: 65.75 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02365/61.7, allocations: 9.038 MB / 15.16 GB, free: 65.64 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.1086/61.81, allocations: 68.66 MB / 15.23 GB, free: 31.91 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00894/61.82, allocations: 4.866 MB / 15.24 GB, free: 31.21 MB / 1.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/61.82, allocations: 2.405 MB / 15.24 GB, free: 30.96 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08216/61.9, allocations: 51.51 MB / 15.29 GB, free: 24.45 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/61.9, allocations: 120.9 kB / 15.29 GB, free: 24.39 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 2.326e-05/61.9, allocations: 0 / 15.29 GB, free: 24.39 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.0192/61.92, allocations: 5.466 MB / 15.29 GB, free: 23.39 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005175/61.92, allocations: 0.794 MB / 15.3 GB, free: 22.47 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04462/61.97, allocations: 14.04 MB / 15.31 GB, free: 21.56 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002239/61.97, allocations: 165 kB / 15.31 GB, free: 21.53 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01419/61.98, allocations: 8.743 MB / 15.32 GB, free: 19.28 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.003087/61.99, allocations: 1.489 MB / 15.32 GB, free: 18.33 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007553/61.99, allocations: 114.9 kB / 15.32 GB, free: 18.33 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.0003841/61.99, allocations: 0.5145 MB / 15.32 GB, free: 18.02 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/61.99, allocations: 1.81 MB / 15.32 GB, free: 18 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006118/62, allocations: 5.447 MB / 15.33 GB, free: 13.62 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/62, allocations: 2.785 MB / 15.33 GB, free: 13.33 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-05/62, allocations: 19.94 kB / 15.33 GB, free: 13.33 MB / 1.854 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01993/62.02, allocations: 7.401 MB / 15.34 GB, free: 11.98 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/62.02, allocations: 34.59 kB / 15.34 GB, free: 11.98 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.099e-05/62.02, allocations: 65.09 kB / 15.34 GB, free: 11.98 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/62.02, allocations: 105.4 kB / 15.34 GB, free: 11.98 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005249/62.03, allocations: 1.339 MB / 15.34 GB, free: 11.88 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/62.03, allocations: 145.4 kB / 15.34 GB, free: 11.84 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/62.05, allocations: 1.627 MB / 15.34 GB, free: 11.11 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002527/62.05, allocations: 413.9 kB / 15.34 GB, free: 11.11 MB / 1.854 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.002257/62.05, allocations: 0.5797 MB / 15.34 GB, free: 10.86 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006173/62.06, allocations: 1.618 MB / 15.34 GB, free: 10 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/62.08, allocations: 7.602 MB / 15.35 GB, free: 9.484 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001522/62.08, allocations: 82.62 kB / 15.35 GB, free: 9.484 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.535e-05/62.08, allocations: 10.97 kB / 15.35 GB, free: 9.484 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004698/62.08, allocations: 3.924 MB / 15.35 GB, free: 7.688 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08/62.16, allocations: 28.39 MB / 15.38 GB, free: 3.301 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002561/62.16, allocations: 32.59 kB / 15.38 GB, free: 3.301 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/62.17, allocations: 0.7834 MB / 15.38 GB, free: 3.242 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/62.17, allocations: 54.84 kB / 15.38 GB, free: 3.242 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/62.17, allocations: 154.8 kB / 15.38 GB, free: 3.242 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001029/62.17, allocations: 71.89 kB / 15.38 GB, free: 3.227 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.57e-05/62.17, allocations: 52.16 kB / 15.38 GB, free: 3.211 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/62.2, allocations: 28.33 MB / 15.41 GB, free: 13.23 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01671/62.22, allocations: 3.033 MB / 15.41 GB, free: 12.12 MB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01043/62.23, allocations: 132.7 kB / 15.41 GB, free: 12.12 MB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01596/62.24, allocations: 0.5553 MB / 15.41 GB, free: 12.02 MB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/62.24, allocations: 410.5 kB / 15.41 GB, free: 11.95 MB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001738/62.25, allocations: 262.7 kB / 15.41 GB, free: 11.95 MB / 1.885 GB Notification: Performance of sorting global known variables: time 0.03552/62.28, allocations: 11.34 MB / 15.43 GB, free: 11.36 MB / 1.885 GB Notification: Performance of sort global known variables: time 6.21e-07/62.28, allocations: 0 / 15.43 GB, free: 11.36 MB / 1.885 GB Notification: Performance of remove unused functions: time 0.04469/62.33, allocations: 6.411 MB / 15.43 GB, free: 10.53 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 ($cse36.phase,$cse36.region,$cse31.phase,$cse31.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.04964/62.38, allocations: 20.93 MB / 15.45 GB, free: 12.03 MB / 1.901 GB Notification: Performance of simCode: created initialization part: time 0.01337/62.39, allocations: 5.249 MB / 15.46 GB, free: 11.68 MB / 1.901 GB Notification: Performance of simCode: created event and clocks part: time 5.542e-05/62.39, allocations: 16.78 kB / 15.46 GB, free: 11.67 MB / 1.901 GB Notification: Performance of simCode: created simulation system equations: time 0.005716/62.4, allocations: 2.618 MB / 15.46 GB, free: 11.51 MB / 1.901 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06282/62.46, allocations: 9.462 MB / 15.47 GB, free: 10.9 MB / 1.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06915/62.53, allocations: 21.96 MB / 15.49 GB, free: 4.047 MB / 1.901 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01964/62.55, allocations: 7.746 MB / 15.5 GB, free: 2.812 MB / 1.901 GB Notification: Performance of simCode: alias equations: time 0.02444/62.57, allocations: 3.156 MB / 15.5 GB, free: 2.383 MB / 1.901 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005124/62.58, allocations: 1.069 MB / 15.5 GB, free: 2.367 MB / 1.901 GB Notification: Performance of SimCode: time 1.122e-06/62.58, allocations: 0 / 15.5 GB, free: 2.367 MB / 1.901 GB Notification: Performance of Templates: time 4.073/66.65, allocations: 415.9 MB / 15.91 GB, free: 369.8 MB / 1.948 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","../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches