Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001039/0.001039, allocations: 99.03 kB / 16.02 MB, free: 76 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.001344/0.001344, allocations: 180.4 kB / 16.92 MB, free: 6.914 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 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.596/2.596, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003931, allocations: 12 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7112, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02778/0.7391, allocations: 25.74 MB / 1.049 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.7532, allocations: 7.998 MB / 1.057 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.7562, allocations: 95.44 kB / 1.057 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.7583, allocations: 0.5193 MB / 1.057 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.7633, allocations: 1.501 MB / 1.059 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.7676, allocations: 1.392 MB / 1.06 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009612/0.7773, allocations: 8.7 MB / 1.069 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.793, allocations: 9.159 MB / 1.078 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.7972, allocations: 1.855 MB / 1.079 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.8018, allocations: 2.456 MB / 1.082 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.803, allocations: 212 kB / 1.082 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.8063, allocations: 1.201 MB / 1.083 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002915/0.8092, allocations: 1.672 MB / 1.085 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00424/0.8135, allocations: 1.957 MB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007986/0.8215, allocations: 6.654 MB / 1.093 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8215, allocations: 0 / 1.093 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.607e-06/0.8216, allocations: 4 kB / 1.093 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002487/0.8218, allocations: 3.938 kB / 1.093 GB, free: 8.484 MB / 0.8419 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.008789/0.8306, allocations: 3.421 MB / 1.096 GB, free: 5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8307, allocations: 8.031 kB / 1.096 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.836, allocations: 0.8078 MB / 1.097 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.8414, allocations: 2.428 MB / 1.1 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.8417, allocations: 271.7 kB / 1.1 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.8432, allocations: 376.5 kB / 1.1 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.8581, allocations: 5.992 MB / 1.106 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.8584, allocations: 19.78 kB / 1.106 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.8595, allocations: 152 kB / 1.106 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007445/0.8602, allocations: 294.8 kB / 1.107 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.8705, allocations: 4.524 MB / 1.111 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.9061, allocations: 27.7 MB / 1.138 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.9081, allocations: 1.117 MB / 1.139 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.9097, allocations: 1.023 MB / 1.14 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.704e-05/0.9098, allocations: 13 kB / 1.14 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.9099, allocations: 47.55 kB / 1.14 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 4.518e-06/0.9099, allocations: 0 / 1.14 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02462/0.9345, allocations: 9.672 MB / 1.15 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.9346, allocations: 64.72 kB / 1.15 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/0.9371, allocations: 1.498 MB / 1.151 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.9374, allocations: 57.7 kB / 1.151 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.9387, allocations: 1.667 MB / 1.153 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006597/0.9394, allocations: 469.3 kB / 1.153 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.9397, allocations: 141.6 kB / 1.153 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9398, allocations: 309.1 kB / 1.154 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.9414, allocations: 0.9135 MB / 1.155 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.9434, allocations: 1.467 MB / 1.156 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.947, allocations: 2.55 MB / 1.159 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.9471, allocations: 4 kB / 1.159 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006395/0.9535, allocations: 3.282 MB / 1.162 GB, free: 14.55 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.9535, allocations: 16 kB / 1.162 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.9536, allocations: 23.98 kB / 1.162 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.956, allocations: 0.738 MB / 1.162 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.9576, allocations: 387.4 kB / 1.163 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.9735, allocations: 15.77 MB / 1.178 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.9754, allocations: 103.8 kB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.9757, allocations: 72 kB / 1.178 GB, free: 12.21 MB / 0.9356 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.002862/0.9786, allocations: 1.313 MB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007167/0.9794, allocations: 201.7 kB / 1.18 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005815/0.9852, allocations: 2.784 MB / 1.183 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.9852, allocations: 16 kB / 1.183 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/0.9853, allocations: 7.984 kB / 1.183 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.9853, allocations: 3.984 kB / 1.183 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.9983, allocations: 6.22 MB / 1.189 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.9984, allocations: 4 kB / 1.189 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.9997, allocations: 235.6 kB / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/1.002, allocations: 0.6679 MB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.002, allocations: 39.98 kB / 1.19 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/1.018, allocations: 15.52 MB / 1.205 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.018, allocations: 4 kB / 1.205 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/1.025, allocations: 4.008 MB / 1.209 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.026, allocations: 466.5 kB / 1.209 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.026, allocations: 32 kB / 1.209 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.028, allocations: 83.89 kB / 1.209 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/1.028, allocations: 108.9 kB / 1.209 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.994e-05/1.028, allocations: 47.94 kB / 1.209 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001566/1.03, allocations: 0.9942 MB / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002449/1.032, allocations: 0.6836 MB / 1.211 GB, free: 9.227 MB / 0.9669 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.0002888/1.032, allocations: 153 kB / 1.211 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005438/1.038, allocations: 3.507 MB / 1.215 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.038, allocations: 4.25 kB / 1.215 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.041, allocations: 2.291 MB / 1.217 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.046, allocations: 0.6302 MB / 1.217 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.06, allocations: 8.693 MB / 1.226 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/1.064, allocations: 2.726 MB / 1.229 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/1.065, allocations: 127.4 kB / 1.229 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/1.065, allocations: 0 / 1.229 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.7062/1.771, allocations: 209.2 MB / 1.433 GB, free: 45.05 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches