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.155/2.155, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00108/0.00108, allocations: 188.6 kB / 487.4 MB, free: 5.023 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.574/1.574, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.000922, allocations: 87.92 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.847e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2566, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.838/9.095, allocations: 3.172 GB / 4.378 GB, free: 308.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/9.095, allocations: 104.1 kB / 4.378 GB, free: 308.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 49.12/58.21, allocations: 10.66 GB / 15.04 GB, free: 80.33 MB / 1.792 GB Notification: Performance of FrontEnd: time 2.575e-06/58.21, allocations: 0 / 15.04 GB, free: 80.33 MB / 1.792 GB Notification: Performance of Transformations before backend: time 0.005996/58.22, allocations: 0.5384 MB / 15.04 GB, free: 80.2 MB / 1.792 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.07287/58.29, allocations: 17.55 MB / 15.06 GB, free: 71.81 MB / 1.792 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/58.29, allocations: 11.19 kB / 15.06 GB, free: 71.81 MB / 1.792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/58.31, allocations: 2.582 MB / 15.06 GB, free: 70.78 MB / 1.792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06852/58.38, allocations: 20.29 MB / 15.08 GB, free: 68 MB / 1.792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/58.38, allocations: 392.5 kB / 15.08 GB, free: 68 MB / 1.792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006853/58.39, allocations: 0.7842 MB / 15.08 GB, free: 68 MB / 1.792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03168/58.42, allocations: 8.003 MB / 15.09 GB, free: 67.94 MB / 1.792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05751/58.48, allocations: 11.4 MB / 15.1 GB, free: 65.68 MB / 1.792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001676/58.48, allocations: 48.25 kB / 15.1 GB, free: 65.65 MB / 1.792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007411/58.49, allocations: 24.22 kB / 15.1 GB, free: 65.65 MB / 1.792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005524/58.49, allocations: 338.7 kB / 15.1 GB, free: 65.64 MB / 1.792 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.1774/58.67, allocations: 95.61 MB / 15.2 GB, free: 12.52 MB / 1.792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/58.67, allocations: 4.383 MB / 15.2 GB, free: 11.77 MB / 1.792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/58.68, allocations: 2.255 MB / 15.2 GB, free: 11.52 MB / 1.792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07238/58.75, allocations: 43.9 MB / 15.25 GB, free: 9.531 MB / 1.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/58.75, allocations: 111.5 kB / 15.25 GB, free: 9.48 MB / 1.823 GB Notification: Performance of pre-optimization done (n=423): time 1.843e-05/58.75, allocations: 0 / 15.25 GB, free: 9.48 MB / 1.823 GB Notification: Performance of matching and sorting (n=423): time 0.02129/58.77, allocations: 5.284 MB / 15.25 GB, free: 8.676 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004617/58.77, allocations: 0.7853 MB / 15.25 GB, free: 7.762 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03475/58.81, allocations: 9.111 MB / 15.26 GB, free: 7.078 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002399/58.81, allocations: 52.61 kB / 15.26 GB, free: 7.043 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0126/58.82, allocations: 8.691 MB / 15.27 GB, free: 3.82 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003395/58.83, allocations: 1.416 MB / 15.27 GB, free: 2.883 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/58.83, allocations: 0 / 15.27 GB, free: 2.883 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.000928/58.83, allocations: 0.5177 MB / 15.27 GB, free: 2.57 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/58.83, allocations: 1.702 MB / 15.27 GB, free: 2.555 MB / 1.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00946/58.84, allocations: 5.23 MB / 15.28 GB, free: 14.18 MB / 1.839 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/58.85, allocations: 3.217 MB / 15.28 GB, free: 13.91 MB / 1.839 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/58.85, allocations: 18.97 kB / 15.28 GB, free: 13.91 MB / 1.839 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02516/58.88, allocations: 6.974 MB / 15.29 GB, free: 12.84 MB / 1.839 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/58.88, allocations: 35.03 kB / 15.29 GB, free: 12.84 MB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/58.88, allocations: 64.38 kB / 15.29 GB, free: 12.84 MB / 1.839 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/58.88, allocations: 111.1 kB / 15.29 GB, free: 12.84 MB / 1.839 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006271/58.89, allocations: 1.331 MB / 15.29 GB, free: 12.74 MB / 1.839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002317/58.89, allocations: 140.8 kB / 15.29 GB, free: 12.71 MB / 1.839 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/58.9, allocations: 0.9158 MB / 15.29 GB, free: 12.35 MB / 1.839 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003082/58.91, allocations: 411.9 kB / 15.29 GB, free: 12.35 MB / 1.839 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.005502/58.91, allocations: 358.2 kB / 15.29 GB, free: 12.09 MB / 1.839 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008334/58.92, allocations: 1.227 MB / 15.29 GB, free: 11.43 MB / 1.839 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/58.94, allocations: 6.688 MB / 15.3 GB, free: 10.96 MB / 1.839 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002872/58.95, allocations: 77.34 kB / 15.3 GB, free: 10.96 MB / 1.839 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.759e-05/58.95, allocations: 19.05 kB / 15.3 GB, free: 10.95 MB / 1.839 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008231/58.95, allocations: 3.782 MB / 15.3 GB, free: 9.18 MB / 1.839 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07019/59.02, allocations: 25.53 MB / 15.33 GB, free: 1.98 MB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001925/59.02, allocations: 31.56 kB / 15.33 GB, free: 1.98 MB / 1.839 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/59.03, allocations: 0.7714 MB / 15.33 GB, free: 1.895 MB / 1.839 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/59.03, allocations: 57.5 kB / 15.33 GB, free: 1.895 MB / 1.839 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/59.03, allocations: 97.11 kB / 15.33 GB, free: 1.875 MB / 1.839 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.076e-05/59.03, allocations: 72.53 kB / 15.33 GB, free: 1.863 MB / 1.839 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.971e-05/59.03, allocations: 52.97 kB / 15.33 GB, free: 1.848 MB / 1.839 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/59.06, allocations: 22.17 MB / 15.35 GB, free: 12.88 MB / 1.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01103/59.07, allocations: 2.38 MB / 15.35 GB, free: 10.8 MB / 1.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006167/59.08, allocations: 56.86 kB / 15.35 GB, free: 10.75 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01182/59.09, allocations: 405.7 kB / 15.35 GB, free: 10.45 MB / 1.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001626/59.09, allocations: 408.2 kB / 15.35 GB, free: 10.16 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001732/59.09, allocations: 257.9 kB / 15.35 GB, free: 9.945 MB / 1.87 GB Notification: Performance of sorting global known variables: time 0.02468/59.12, allocations: 6.92 MB / 15.36 GB, free: 3.707 MB / 1.87 GB Notification: Performance of sort global known variables: time 7.21e-07/59.12, allocations: 4 kB / 15.36 GB, free: 3.703 MB / 1.87 GB Notification: Performance of remove unused functions: time 0.03877/59.16, allocations: 6.541 MB / 15.37 GB, free: 13.33 MB / 1.885 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (485): * Single equations (assignments): 421 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.04656/59.2, allocations: 21.29 MB / 15.39 GB, free: 7.75 MB / 1.901 GB Notification: Performance of simCode: created initialization part: time 0.01251/59.22, allocations: 4.823 MB / 15.39 GB, free: 3.254 MB / 1.901 GB Notification: Performance of simCode: created event and clocks part: time 4.63e-05/59.22, allocations: 8 kB / 15.39 GB, free: 3.246 MB / 1.901 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/59.22, allocations: 2.385 MB / 15.39 GB, free: 1.059 MB / 1.901 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.724/60.95, allocations: 5.467 MB / 15.4 GB, free: 357.2 MB / 1.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06839/61.02, allocations: 20.52 MB / 15.42 GB, free: 351.1 MB / 1.901 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02773/61.04, allocations: 7.664 MB / 15.43 GB, free: 350.1 MB / 1.901 GB Notification: Performance of simCode: alias equations: time 0.02372/61.07, allocations: 2.563 MB / 15.43 GB, free: 350 MB / 1.901 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006601/61.07, allocations: 0.8342 MB / 15.43 GB, free: 350 MB / 1.901 GB Notification: Performance of SimCode: time 1.392e-06/61.07, allocations: 1.531 kB / 15.43 GB, free: 350 MB / 1.901 GB Notification: Performance of Templates: time 0.4752/61.55, allocations: 257.5 MB / 15.68 GB, free: 329.6 MB / 1.901 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