Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001892/0.001892, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 75.73 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01004/0.3187, allocations: 6.794 MB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005849/0.3246, allocations: 3.063 MB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.3254, allocations: 31.81 kB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.3282, allocations: 0.9554 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3297, allocations: 0.5011 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.331, allocations: 449.3 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3327, allocations: 1.232 MB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.334, allocations: 0.6586 MB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008091/0.3348, allocations: 466.4 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008947/0.3357, allocations: 0.5291 MB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.3358, allocations: 68 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.3367, allocations: 379.3 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.3371, allocations: 307.2 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3376, allocations: 453.7 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.3391, allocations: 1.207 MB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3392, allocations: 4 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3392, allocations: 3.938 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.3392, allocations: 0 / 1.035 GB, free: 9.48 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002164/0.3414, allocations: 1.161 MB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3414, allocations: 12.92 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.3433, allocations: 231.6 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3445, allocations: 0.5491 MB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.3446, allocations: 57.67 kB / 1.037 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3447, allocations: 68.25 kB / 1.037 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.3467, allocations: 1.085 MB / 1.038 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.3468, allocations: 7.938 kB / 1.038 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3469, allocations: 35.98 kB / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.3471, allocations: 85.25 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3484, allocations: 0.7504 MB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00653/0.355, allocations: 5.909 MB / 1.044 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3561, allocations: 0.5486 MB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.3566, allocations: 326 kB / 1.045 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3566, allocations: 4.438 kB / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.3567, allocations: 39 kB / 1.045 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.365e-06/0.3567, allocations: 0 / 1.045 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004421/0.3611, allocations: 1.99 MB / 1.047 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3612, allocations: 55.84 kB / 1.047 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.3619, allocations: 0.5625 MB / 1.048 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.362, allocations: 33.7 kB / 1.048 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.3623, allocations: 422.9 kB / 1.048 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3625, allocations: 173.6 kB / 1.048 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.3627, allocations: 126.5 kB / 1.049 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002691/0.363, allocations: 374.7 kB / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.3635, allocations: 273.8 kB / 1.049 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.3642, allocations: 497 kB / 1.05 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.3653, allocations: 0.821 MB / 1.05 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3654, allocations: 0 / 1.05 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00198/0.3673, allocations: 1.079 MB / 1.051 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3674, allocations: 8.125 kB / 1.051 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.3674, allocations: 12 kB / 1.051 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.3683, allocations: 271.2 kB / 1.052 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.3688, allocations: 127.8 kB / 1.052 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00809/0.3769, allocations: 7.146 MB / 1.059 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.3776, allocations: 39.89 kB / 1.059 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.3777, allocations: 32.19 kB / 1.059 GB, free: 15.06 MB / 0.8419 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.3781, allocations: 254.2 kB / 1.059 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3782, allocations: 67.31 kB / 1.059 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.3801, allocations: 0.8964 MB / 1.06 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3801, allocations: 4 kB / 1.06 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3801, allocations: 7.938 kB / 1.06 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3801, allocations: 3.984 kB / 1.06 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.3831, allocations: 1.721 MB / 1.062 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3831, allocations: 0 / 1.062 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3834, allocations: 63.83 kB / 1.062 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007791/0.3842, allocations: 271.4 kB / 1.062 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3842, allocations: 15.94 kB / 1.062 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.3918, allocations: 7.124 MB / 1.069 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3918, allocations: 0 / 1.069 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3935, allocations: 0.9912 MB / 1.07 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3939, allocations: 196.1 kB / 1.07 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.3939, allocations: 12 kB / 1.07 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.3943, allocations: 32.08 kB / 1.07 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3945, allocations: 39.95 kB / 1.07 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.3945, allocations: 20 kB / 1.07 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005679/0.3951, allocations: 391.1 kB / 1.071 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3951, allocations: 3.938 kB / 1.071 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009728/0.3961, allocations: 228 kB / 1.071 GB, free: 1.996 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.3963, allocations: 116.5 kB / 1.071 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.3987, allocations: 1.33 MB / 1.072 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.3987, allocations: 4 kB / 1.072 GB, free: 500 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4123/0.811, allocations: 0.8796 MB / 1.073 GB, free: 59.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8122, allocations: 219.7 kB / 1.073 GB, free: 59.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.8146, allocations: 1.416 MB / 1.075 GB, free: 59.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.8153, allocations: 1.016 MB / 1.076 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.8155, allocations: 45.89 kB / 1.076 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/0.8155, allocations: 1.062 kB / 1.076 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.03064/0.8461, allocations: 20.85 MB / 1.096 GB, free: 55.21 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches