Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001241/0.001241, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 198.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7029, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01819/0.7212, allocations: 14.7 MB / 1.032 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.737, allocations: 10.36 MB / 1.042 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.7387, allocations: 55.62 kB / 1.042 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.7433, allocations: 1.566 MB / 1.043 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005814/0.7492, allocations: 1.604 MB / 1.045 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.7515, allocations: 0.6978 MB / 1.046 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004879/0.7564, allocations: 3.398 MB / 1.049 GB, free: 2.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.7589, allocations: 1.356 MB / 1.05 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.7615, allocations: 1.394 MB / 1.052 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.764, allocations: 1.16 MB / 1.053 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000594/0.7646, allocations: 96 kB / 1.053 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.7669, allocations: 0.889 MB / 1.054 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009906/0.7679, allocations: 0.549 MB / 1.054 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.77, allocations: 0.882 MB / 1.055 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.7729, allocations: 2.186 MB / 1.057 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.773, allocations: 4 kB / 1.057 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.773, allocations: 3.938 kB / 1.057 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001104/0.7731, allocations: 0 / 1.057 GB, free: 9.734 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.005814/0.7789, allocations: 2.174 MB / 1.059 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.779, allocations: 8.031 kB / 1.059 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.7904, allocations: 2.105 MB / 1.061 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.7935, allocations: 1.221 MB / 1.063 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7936, allocations: 90.69 kB / 1.063 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005438/0.7941, allocations: 116.1 kB / 1.063 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006965/0.8011, allocations: 2.67 MB / 1.065 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.8012, allocations: 15.84 kB / 1.065 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.8016, allocations: 59.97 kB / 1.065 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006821/0.8023, allocations: 190.1 kB / 1.066 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007734/0.8101, allocations: 2.783 MB / 1.068 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.8269, allocations: 10.51 MB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.8333, allocations: 2.352 MB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003104/0.8364, allocations: 1.268 MB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.8366, allocations: 13 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.8367, allocations: 39.56 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.8367, allocations: 0 / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.05999/0.8967, allocations: 16.48 MB / 1.098 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.8969, allocations: 72.64 kB / 1.098 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.8999, allocations: 1.172 MB / 1.1 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/0.9004, allocations: 49.7 kB / 1.1 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/0.9012, allocations: 0.7436 MB / 1.1 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/0.902, allocations: 0.5121 MB / 1.101 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007761/0.9028, allocations: 291.4 kB / 1.101 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9029, allocations: 305.1 kB / 1.101 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/0.9072, allocations: 1.51 MB / 1.103 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/0.9118, allocations: 1.776 MB / 1.105 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/0.9193, allocations: 3.369 MB / 1.108 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.9194, allocations: 4 kB / 1.108 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01387/0.9332, allocations: 5.273 MB / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.9333, allocations: 12 kB / 1.113 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.9333, allocations: 11.98 kB / 1.113 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007314/0.9407, allocations: 1.876 MB / 1.115 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.9426, allocations: 419.2 kB / 1.115 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/0.973, allocations: 22.19 MB / 1.137 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.9758, allocations: 311.4 kB / 1.137 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/0.9762, allocations: 67.97 kB / 1.137 GB, free: 5.297 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001136/0.9773, allocations: 465.5 kB / 1.138 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/0.9779, allocations: 173.9 kB / 1.138 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.9915, allocations: 5.324 MB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.9915, allocations: 16 kB / 1.143 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-05/0.9916, allocations: 20 kB / 1.143 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.9916, allocations: 7.969 kB / 1.143 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.009, allocations: 7.418 MB / 1.15 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.009, allocations: 8.031 kB / 1.15 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.011, allocations: 351.4 kB / 1.151 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006302/1.017, allocations: 1.699 MB / 1.152 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.017, allocations: 51.89 kB / 1.152 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02796/1.045, allocations: 21.34 MB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.045, allocations: 4.031 kB / 1.173 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.058, allocations: 4.893 MB / 1.178 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.059, allocations: 498.6 kB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005833/1.06, allocations: 32.56 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.062, allocations: 319.5 kB / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/1.063, allocations: 149.1 kB / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.063, allocations: 59.94 kB / 1.179 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001601/1.065, allocations: 0.7899 MB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.065, allocations: 0 / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00264/1.068, allocations: 0.664 MB / 1.181 GB, free: 7.684 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003797/1.068, allocations: 145.8 kB / 1.181 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01132/1.079, allocations: 5.128 MB / 1.186 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.079, allocations: 4 kB / 1.186 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007209/1.087, allocations: 3.355 MB / 1.189 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.09, allocations: 0.5227 MB / 1.189 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009972/1.1, allocations: 5.116 MB / 1.194 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.101, allocations: 1.572 MB / 1.196 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/1.102, allocations: 127.3 kB / 1.196 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of SimCode: time 6.32e-07/1.102, allocations: 0 / 1.196 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of Templates: time 0.5747/1.677, allocations: 85.7 MB / 1.28 GB, free: 207.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches