Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001592/0.001592, allocations: 196 kB / 17.3 MB, free: 5.516 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.53 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00747/0.3193, allocations: 6.151 MB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004943/0.3243, allocations: 3.188 MB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.3248, allocations: 27.81 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.3272, allocations: 0.9282 MB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3283, allocations: 477.5 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3296, allocations: 0.4964 MB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.3306, allocations: 1.1 MB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.3314, allocations: 0.6387 MB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.332, allocations: 446.4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.3325, allocations: 474.1 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.3326, allocations: 56 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.3334, allocations: 483 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3337, allocations: 295.2 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.3341, allocations: 401.9 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3353, allocations: 1.176 MB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3353, allocations: 0 / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3353, allocations: 0 / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.3353, allocations: 0 / 1.035 GB, free: 9.508 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001541/0.3369, allocations: 1.056 MB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3369, allocations: 12.92 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3384, allocations: 223.6 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.3393, allocations: 0.5922 MB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.3394, allocations: 45.67 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3395, allocations: 72.34 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3408, allocations: 1.026 MB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.3408, allocations: 11.88 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.3409, allocations: 35.98 kB / 1.038 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.312e-05/0.341, allocations: 65.27 kB / 1.038 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.342, allocations: 0.6918 MB / 1.038 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.3466, allocations: 5.733 MB / 1.044 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.3474, allocations: 0.6042 MB / 1.045 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.3481, allocations: 426.7 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3482, allocations: 4.688 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3482, allocations: 38.56 kB / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.913e-06/0.3482, allocations: 0 / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004241/0.3525, allocations: 2.053 MB / 1.047 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3525, allocations: 59.41 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.353, allocations: 466.8 kB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.353, allocations: 29.7 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.3533, allocations: 391 kB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3534, allocations: 149.9 kB / 1.048 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3535, allocations: 110.2 kB / 1.048 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3537, allocations: 366.8 kB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.354, allocations: 245.1 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.3545, allocations: 457 kB / 1.049 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.3554, allocations: 0.7595 MB / 1.05 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3554, allocations: 4 kB / 1.05 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001779/0.3572, allocations: 1.066 MB / 1.051 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3572, allocations: 12 kB / 1.051 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3572, allocations: 11.98 kB / 1.051 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3582, allocations: 327.1 kB / 1.051 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.3586, allocations: 95.83 kB / 1.051 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/0.3651, allocations: 7.521 MB / 1.059 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.3655, allocations: 28.02 kB / 1.059 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.3656, allocations: 35.94 kB / 1.059 GB, free: 15.14 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.3659, allocations: 237.6 kB / 1.059 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.366, allocations: 67.19 kB / 1.059 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3676, allocations: 0.916 MB / 1.06 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3676, allocations: 4 kB / 1.06 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3677, allocations: 4 kB / 1.06 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3677, allocations: 3.984 kB / 1.06 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3703, allocations: 1.705 MB / 1.062 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3703, allocations: 4 kB / 1.062 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3705, allocations: 43.91 kB / 1.062 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.3714, allocations: 327.2 kB / 1.062 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3714, allocations: 8 kB / 1.062 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.3779, allocations: 7.51 MB / 1.069 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3779, allocations: 4 kB / 1.069 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.3795, allocations: 1.007 MB / 1.07 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.3798, allocations: 172.4 kB / 1.071 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.3799, allocations: 23.88 kB / 1.071 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3802, allocations: 19.97 kB / 1.071 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3803, allocations: 39.95 kB / 1.071 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.3803, allocations: 8 kB / 1.071 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003213/0.3806, allocations: 318.9 kB / 1.071 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3807, allocations: 0 / 1.071 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00072/0.3814, allocations: 195.9 kB / 1.071 GB, free: 1.801 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.3815, allocations: 111.2 kB / 1.071 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.3833, allocations: 1.214 MB / 1.072 GB, free: 428 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3833, allocations: 0 / 1.072 GB, free: 428 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4725/0.8558, allocations: 0.8587 MB / 1.073 GB, free: 59.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.8571, allocations: 200.4 kB / 1.073 GB, free: 59.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.8593, allocations: 1.23 MB / 1.075 GB, free: 59.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.8599, allocations: 0.9958 MB / 1.076 GB, free: 58.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000304/0.8602, allocations: 107.4 kB / 1.076 GB, free: 58.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.8603, allocations: 36 kB / 1.076 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of SimCode: time 1.353e-06/0.8603, allocations: 0 / 1.076 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.0264/0.8867, allocations: 9.967 MB / 1.085 GB, free: 58.29 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches