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.735/2.735, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001371/0.001371, allocations: 171 kB / 498.1 MB, free: 5.734 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.659/1.659, allocations: 223.2 MB / 0.7948 GB, free: 17.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.001102/0.001102, allocations: 100.2 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003722, allocations: 8.469 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.908/8.242, allocations: 3.172 GB / 4.395 GB, free: 129.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/8.242, allocations: 110.2 kB / 4.395 GB, free: 129.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 50.84/59.09, allocations: 10.75 GB / 15.15 GB, free: 85.42 MB / 1.823 GB Notification: Performance of FrontEnd: time 4.238e-06/59.09, allocations: 0 / 15.15 GB, free: 85.42 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.006876/59.09, allocations: 0.5479 MB / 15.15 GB, free: 85.3 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.1095/59.2, allocations: 20.42 MB / 15.17 GB, free: 75.94 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/59.2, allocations: 10.12 kB / 15.17 GB, free: 75.94 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/59.23, allocations: 2.593 MB / 15.17 GB, free: 74.9 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08786/59.31, allocations: 20.38 MB / 15.19 GB, free: 72.48 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002723/59.32, allocations: 0.9833 MB / 15.19 GB, free: 72.45 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009288/59.33, allocations: 1.313 MB / 15.19 GB, free: 72.45 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07135/59.4, allocations: 13.44 MB / 15.21 GB, free: 70.28 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002028/59.4, allocations: 39.22 kB / 15.21 GB, free: 70.27 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007722/59.41, allocations: 0.5087 MB / 15.21 GB, free: 70.27 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006405/59.41, allocations: 341.1 kB / 15.21 GB, free: 70.27 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02948/59.44, allocations: 9.231 MB / 15.22 GB, free: 70.17 MB / 1.823 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.1349/59.57, allocations: 68.67 MB / 15.28 GB, free: 36.44 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/59.58, allocations: 4.874 MB / 15.29 GB, free: 35.76 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0851/59.67, allocations: 51.37 MB / 15.34 GB, free: 13.48 MB / 1.839 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/59.67, allocations: 127.3 kB / 15.34 GB, free: 13.43 MB / 1.839 GB Notification: Performance of pre-optimization done (n=427): time 2.376e-05/59.67, allocations: 0 / 15.34 GB, free: 13.43 MB / 1.839 GB Notification: Performance of matching and sorting (n=427): time 0.02515/59.69, allocations: 7.002 MB / 15.35 GB, free: 12.45 MB / 1.839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005342/59.69, allocations: 0.7986 MB / 15.35 GB, free: 11.53 MB / 1.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06036/59.75, allocations: 14.22 MB / 15.36 GB, free: 26.71 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.003098/59.76, allocations: 167.8 kB / 15.36 GB, free: 26.68 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01952/59.78, allocations: 8.746 MB / 15.37 GB, free: 24.42 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.004424/59.78, allocations: 1.49 MB / 15.37 GB, free: 23.47 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/59.78, allocations: 117 kB / 15.37 GB, free: 23.47 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.001103/59.78, allocations: 0.517 MB / 15.37 GB, free: 23.15 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006529/59.79, allocations: 1.854 MB / 15.37 GB, free: 23.14 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/59.8, allocations: 5.491 MB / 15.38 GB, free: 18.8 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/59.81, allocations: 2.808 MB / 15.38 GB, free: 18.63 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.274e-05/59.81, allocations: 20.59 kB / 15.38 GB, free: 18.63 MB / 1.854 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02263/59.83, allocations: 7.479 MB / 15.39 GB, free: 17.52 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/59.83, allocations: 35.64 kB / 15.39 GB, free: 17.51 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.533e-05/59.83, allocations: 65.16 kB / 15.39 GB, free: 17.51 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/59.83, allocations: 107.4 kB / 15.39 GB, free: 17.51 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005743/59.84, allocations: 1.329 MB / 15.39 GB, free: 17.41 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002254/59.84, allocations: 143.7 kB / 15.39 GB, free: 17.39 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02306/59.86, allocations: 1.63 MB / 15.39 GB, free: 16.66 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002869/59.86, allocations: 413.1 kB / 15.39 GB, free: 16.66 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 () * Number of clocked 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.01637/59.88, allocations: 3.418 MB / 15.4 GB, free: 16.39 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007751/59.89, allocations: 1.617 MB / 15.4 GB, free: 15.54 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/59.91, allocations: 7.665 MB / 15.41 GB, free: 15 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002116/59.91, allocations: 81.17 kB / 15.41 GB, free: 15 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.547e-05/59.91, allocations: 12.42 kB / 15.41 GB, free: 15 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005665/59.92, allocations: 3.938 MB / 15.41 GB, free: 13.21 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09206/60.01, allocations: 28.47 MB / 15.44 GB, free: 8.812 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-05/60.01, allocations: 36.27 kB / 15.44 GB, free: 8.809 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/60.01, allocations: 0.7723 MB / 15.44 GB, free: 8.758 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/60.01, allocations: 58.05 kB / 15.44 GB, free: 8.758 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004209/60.01, allocations: 158.5 kB / 15.44 GB, free: 8.758 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-05/60.01, allocations: 77.14 kB / 15.44 GB, free: 8.742 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-05/60.01, allocations: 45.38 kB / 15.44 GB, free: 8.73 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03106/60.04, allocations: 28.42 MB / 15.47 GB, free: 2.742 MB / 1.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01601/60.06, allocations: 3.021 MB / 15.47 GB, free: 1.652 MB / 1.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008972/60.07, allocations: 132.1 kB / 15.47 GB, free: 1.652 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0175/60.09, allocations: 0.5549 MB / 15.47 GB, free: 1.547 MB / 1.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002327/60.09, allocations: 412.5 kB / 15.47 GB, free: 1.477 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002001/60.09, allocations: 269.2 kB / 15.47 GB, free: 1.473 MB / 1.87 GB Notification: Performance of sorting global known variables: time 0.04185/60.13, allocations: 11.54 MB / 15.48 GB, free: 0.9688 MB / 1.87 GB Notification: Performance of sort global known variables: time 5.91e-07/60.13, allocations: 0 / 15.48 GB, free: 0.9688 MB / 1.87 GB Notification: Performance of remove unused functions: time 0.04115/60.17, allocations: 6.412 MB / 15.49 GB, free: 136 kB / 1.87 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 () * 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.05413/60.23, allocations: 20.96 MB / 15.51 GB, free: 1.781 MB / 1.885 GB Notification: Performance of simCode: created initialization part: time 0.01441/60.24, allocations: 5.319 MB / 15.51 GB, free: 1.43 MB / 1.885 GB Notification: Performance of simCode: created event and clocks part: time 5.689e-05/60.24, allocations: 11.47 kB / 15.51 GB, free: 1.426 MB / 1.885 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/60.25, allocations: 2.656 MB / 15.52 GB, free: 1.25 MB / 1.885 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06321/60.31, allocations: 9.438 MB / 15.53 GB, free: 0.6602 MB / 1.885 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08554/60.4, allocations: 31.47 MB / 15.56 GB, free: 1.77 MB / 1.901 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02887/60.43, allocations: 7.742 MB / 15.56 GB, free: 0.5391 MB / 1.901 GB Notification: Performance of simCode: alias equations: time 0.02663/60.45, allocations: 3.164 MB / 15.57 GB, free: 60 kB / 1.901 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005806/60.46, allocations: 1.068 MB / 15.57 GB, free: 44 kB / 1.901 GB Notification: Performance of SimCode: time 1.272e-06/60.46, allocations: 0 / 15.57 GB, free: 44 kB / 1.901 GB Notification: Performance of Templates: time 2.653/63.11, allocations: 399.4 MB / 15.96 GB, free: 367 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