Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 110.6 kB / 16.27 MB, free: 5.984 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.001872/0.001872, allocations: 189 kB / 17.19 MB, free: 5.609 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6654 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.002341, allocations: 67.67 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3076, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02997/0.3376, allocations: 26.66 MB / 0.9763 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.3518, allocations: 8.086 MB / 0.9842 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.3546, allocations: 115.4 kB / 0.9843 GB, free: 5.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006829/0.3616, allocations: 2.753 MB / 0.987 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.3672, allocations: 1.578 MB / 0.9886 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.3722, allocations: 1.683 MB / 0.9902 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007653/0.3799, allocations: 6.135 MB / 0.9962 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008996/0.3889, allocations: 7.413 MB / 1.003 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004897/0.3938, allocations: 2.555 MB / 1.006 GB, free: 15.64 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.3986, allocations: 2.839 MB / 1.009 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.3998, allocations: 0.5117 MB / 1.009 GB, free: 12.28 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.4029, allocations: 1.287 MB / 1.01 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.4052, allocations: 2.05 MB / 1.012 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003422/0.4086, allocations: 2.381 MB / 1.015 GB, free: 6.543 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009121/0.4178, allocations: 8.001 MB / 1.023 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4178, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4178, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000267/0.4181, allocations: 0 / 1.023 GB, free: 14.52 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0108/0.4289, allocations: 4.235 MB / 1.027 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.429, allocations: 8.031 kB / 1.027 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.4333, allocations: 0.8 MB / 1.028 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.4381, allocations: 2.432 MB / 1.03 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.4383, allocations: 267.7 kB / 1.03 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009693/0.4393, allocations: 384.5 kB / 1.031 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.4508, allocations: 5.988 MB / 1.036 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4509, allocations: 15.88 kB / 1.036 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.4513, allocations: 156 kB / 1.037 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.452, allocations: 282.9 kB / 1.037 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007669/0.4596, allocations: 4.524 MB / 1.041 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.4875, allocations: 27.66 MB / 1.068 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4892, allocations: 1.115 MB / 1.069 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4904, allocations: 1.027 MB / 1.07 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.4905, allocations: 9 kB / 1.07 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.4906, allocations: 55.5 kB / 1.07 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.4906, allocations: 0 / 1.07 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02191/0.5125, allocations: 9.657 MB / 1.08 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.5126, allocations: 68.72 kB / 1.08 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5123/1.025, allocations: 1.489 MB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000309/1.025, allocations: 50.02 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.026, allocations: 1.665 MB / 1.083 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/1.027, allocations: 471.7 kB / 1.083 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/1.027, allocations: 330.1 kB / 1.084 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/1.028, allocations: 304.9 kB / 1.084 GB, free: 122 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.029, allocations: 0.914 MB / 1.085 GB, free: 121.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/1.031, allocations: 1.469 MB / 1.086 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.034, allocations: 2.547 MB / 1.089 GB, free: 119.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.034, allocations: 4.969 kB / 1.089 GB, free: 119.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006477/1.04, allocations: 3.286 MB / 1.092 GB, free: 117.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.04, allocations: 13.88 kB / 1.092 GB, free: 117.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/1.041, allocations: 16.75 kB / 1.092 GB, free: 117.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/1.043, allocations: 0.7506 MB / 1.093 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.045, allocations: 380.8 kB / 1.093 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.059, allocations: 17.05 MB / 1.11 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/1.061, allocations: 100 kB / 1.11 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/1.061, allocations: 77.59 kB / 1.11 GB, free: 102.8 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002186/1.063, allocations: 1.314 MB / 1.111 GB, free: 102.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/1.064, allocations: 199.8 kB / 1.112 GB, free: 102.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/1.07, allocations: 2.791 MB / 1.114 GB, free: 100.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.07, allocations: 13.92 kB / 1.114 GB, free: 100.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/1.07, allocations: 6.406 kB / 1.114 GB, free: 100.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.071, allocations: 7.781 kB / 1.114 GB, free: 100.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.084, allocations: 6.223 MB / 1.12 GB, free: 98.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.084, allocations: 5.062 kB / 1.12 GB, free: 98.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.085, allocations: 230.8 kB / 1.121 GB, free: 98.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/1.087, allocations: 0.6786 MB / 1.121 GB, free: 98.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/1.087, allocations: 33.73 kB / 1.121 GB, free: 97.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.1, allocations: 16.79 MB / 1.138 GB, free: 83.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.1, allocations: 5.156 kB / 1.138 GB, free: 83.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006227/1.106, allocations: 4.014 MB / 1.142 GB, free: 81.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.107, allocations: 449.2 kB / 1.142 GB, free: 81.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.108, allocations: 37.09 kB / 1.142 GB, free: 81.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/1.109, allocations: 87.64 kB / 1.142 GB, free: 81.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/1.109, allocations: 116.5 kB / 1.142 GB, free: 81.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/1.109, allocations: 44.02 kB / 1.142 GB, free: 81.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001385/1.111, allocations: 0.9924 MB / 1.143 GB, free: 80.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.143 GB, free: 80.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003279/1.114, allocations: 0.6852 MB / 1.144 GB, free: 80.78 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000383/1.114, allocations: 152.3 kB / 1.144 GB, free: 80.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007807/1.122, allocations: 4.1 MB / 1.148 GB, free: 78.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.122, allocations: 1.781 kB / 1.148 GB, free: 78.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003244/1.125, allocations: 2.294 MB / 1.15 GB, free: 77.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/1.129, allocations: 0.6754 MB / 1.151 GB, free: 76.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.14, allocations: 7.032 MB / 1.158 GB, free: 73.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.143, allocations: 2.711 MB / 1.16 GB, free: 71.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005703/1.143, allocations: 139.6 kB / 1.161 GB, free: 71.3 MB / 0.8575 GB Notification: Performance of SimCode: time 8.32e-07/1.143, allocations: 0 / 1.161 GB, free: 71.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.1788/1.322, allocations: 209.6 MB / 1.365 GB, free: 7.754 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches