Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9173, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01315/0.9305, allocations: 12.5 MB / 1.033 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.9456, allocations: 9.434 MB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.9474, allocations: 47.62 kB / 1.042 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.9488, allocations: 262.3 kB / 1.043 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.9545, allocations: 1.469 MB / 1.044 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.9566, allocations: 0.5166 MB / 1.044 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004021/0.9606, allocations: 1.745 MB / 1.046 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/0.9643, allocations: 1.803 MB / 1.048 GB, free: 5.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.9667, allocations: 1.204 MB / 1.049 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.969, allocations: 0.8367 MB / 1.05 GB, free: 3.156 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.9695, allocations: 76 kB / 1.05 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.9712, allocations: 387.4 kB / 1.05 GB, free: 2.703 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.9719, allocations: 462.6 kB / 1.051 GB, free: 2.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007107/0.9726, allocations: 352.8 kB / 1.051 GB, free: 1.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.9757, allocations: 2.074 MB / 1.053 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9757, allocations: 7.875 kB / 1.053 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9757, allocations: 0 / 1.053 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.132e-05/0.9758, allocations: 0 / 1.053 GB, free: 15.81 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003727/0.9795, allocations: 1.847 MB / 1.055 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9796, allocations: 11.98 kB / 1.055 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.9911, allocations: 2.19 MB / 1.057 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.9942, allocations: 1.166 MB / 1.058 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.9943, allocations: 86.31 kB / 1.058 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.9946, allocations: 112 kB / 1.058 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006685/1.001, allocations: 2.682 MB / 1.061 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/1.001, allocations: 11.83 kB / 1.061 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.002, allocations: 55.98 kB / 1.061 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006725/1.002, allocations: 190.1 kB / 1.061 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008022/1.01, allocations: 2.834 MB / 1.064 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/1.027, allocations: 10.56 MB / 1.074 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/1.034, allocations: 2.395 MB / 1.077 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.034, allocations: 9 kB / 1.077 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.034, allocations: 47.55 kB / 1.077 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 2.324e-06/1.034, allocations: 0 / 1.077 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=153): time 0.06037/1.095, allocations: 16.49 MB / 1.093 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/1.095, allocations: 68.72 kB / 1.093 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/1.097, allocations: 1.164 MB / 1.094 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.097, allocations: 49.7 kB / 1.094 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/1.098, allocations: 0.7398 MB / 1.095 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/1.098, allocations: 0.5198 MB / 1.095 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.098, allocations: 32 kB / 1.095 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.098, allocations: 365.9 kB / 1.096 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/1.102, allocations: 1.518 MB / 1.097 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/1.106, allocations: 1.791 MB / 1.099 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/1.109, allocations: 1.646 MB / 1.101 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.109, allocations: 0 / 1.101 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0139/1.123, allocations: 5.296 MB / 1.106 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.123, allocations: 8 kB / 1.106 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.123, allocations: 8 kB / 1.106 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006847/1.13, allocations: 1.891 MB / 1.108 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.132, allocations: 423.3 kB / 1.108 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/1.162, allocations: 22.85 MB / 1.13 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.165, allocations: 315.8 kB / 1.131 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/1.165, allocations: 67.95 kB / 1.131 GB, free: 14.09 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00104/1.166, allocations: 469.4 kB / 1.131 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.166, allocations: 181.9 kB / 1.131 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.18, allocations: 5.336 MB / 1.137 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.18, allocations: 16 kB / 1.137 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-05/1.18, allocations: 23.95 kB / 1.137 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.18, allocations: 11.97 kB / 1.137 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.198, allocations: 7.461 MB / 1.144 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.198, allocations: 4 kB / 1.144 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.199, allocations: 359.7 kB / 1.144 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006227/1.206, allocations: 1.707 MB / 1.146 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.206, allocations: 39.97 kB / 1.146 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02907/1.235, allocations: 22.05 MB / 1.167 GB, free: 7.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.235, allocations: 4 kB / 1.167 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.248, allocations: 5.078 MB / 1.172 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.25, allocations: 490.8 kB / 1.173 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.25, allocations: 32 kB / 1.173 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.252, allocations: 331.5 kB / 1.173 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005607/1.253, allocations: 145 kB / 1.173 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.253, allocations: 59.95 kB / 1.173 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001168/1.254, allocations: 0.7743 MB / 1.174 GB, free: 116 kB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/1.254, allocations: 96 / 1.174 GB, free: 116 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0024/1.256, allocations: 0.6601 MB / 1.175 GB, free: 15.45 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/1.257, allocations: 142.1 kB / 1.175 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.268, allocations: 5.184 MB / 1.18 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.268, allocations: 0 / 1.18 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007395/1.276, allocations: 3.366 MB / 1.183 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.279, allocations: 0.4907 MB / 1.184 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.295, allocations: 4.869 MB / 1.189 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.297, allocations: 1.596 MB / 1.19 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002972/1.3, allocations: 386.4 kB / 1.19 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/1.3, allocations: 107.4 kB / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/1.3, allocations: 0 / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.128/1.428, allocations: 41.42 MB / 1.231 GB, free: 6.059 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches