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.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.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.001831/0.001831, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001912/0.001912, allocations: 185 kB / 17.34 MB, free: 5.629 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.18 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.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8445, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03353/0.878, allocations: 26.66 MB / 1.193 GB, free: 9.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.8946, allocations: 8.086 MB / 1.201 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.8986, allocations: 119.4 kB / 1.201 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008189/0.9068, allocations: 2.759 MB / 1.204 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.9129, allocations: 1.675 MB / 1.206 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/0.9185, allocations: 1.677 MB / 1.207 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009019/0.9275, allocations: 6.162 MB / 1.213 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.9393, allocations: 7.304 MB / 1.22 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00613/0.9454, allocations: 2.613 MB / 1.223 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.9515, allocations: 2.823 MB / 1.226 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.9536, allocations: 0.5117 MB / 1.226 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.9577, allocations: 1.287 MB / 1.228 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004125/0.9618, allocations: 2.05 MB / 1.23 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006341/0.9682, allocations: 2.385 MB / 1.232 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.9809, allocations: 8.049 MB / 1.24 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9809, allocations: 0 / 1.24 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.988e-06/0.9809, allocations: 0 / 1.24 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0003547/0.9813, allocations: 3.938 kB / 1.24 GB, free: 9.391 MB / 0.9669 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.01504/0.9964, allocations: 4.232 MB / 1.244 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9964, allocations: 8.922 kB / 1.244 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/1.002, allocations: 0.8078 MB / 1.245 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007421/1.01, allocations: 2.573 MB / 1.247 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/1.01, allocations: 275.6 kB / 1.247 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/1.012, allocations: 376.5 kB / 1.248 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/1.027, allocations: 5.992 MB / 1.254 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/1.027, allocations: 19.78 kB / 1.254 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/1.028, allocations: 164 kB / 1.254 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007458/1.029, allocations: 282.9 kB / 1.254 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/1.04, allocations: 4.52 MB / 1.259 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/1.075, allocations: 27.46 MB / 1.285 GB, free: 7.812 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/1.077, allocations: 1.127 MB / 1.286 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/1.078, allocations: 1.019 MB / 1.287 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.436e-05/1.078, allocations: 13 kB / 1.287 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/1.078, allocations: 47.56 kB / 1.287 GB, free: 5.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.396e-06/1.078, allocations: 0 / 1.287 GB, free: 5.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.02326/1.102, allocations: 9.659 MB / 1.297 GB, free: 11.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.102, allocations: 68.66 kB / 1.297 GB, free: 11.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.104, allocations: 1.506 MB / 1.298 GB, free: 10.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/1.105, allocations: 53.7 kB / 1.298 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.106, allocations: 1.663 MB / 1.3 GB, free: 8.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005914/1.106, allocations: 465.4 kB / 1.301 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/1.107, allocations: 327.2 kB / 1.301 GB, free: 7.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.107, allocations: 309.1 kB / 1.301 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.109, allocations: 0.9135 MB / 1.302 GB, free: 6.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/1.111, allocations: 1.467 MB / 1.303 GB, free: 4.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/1.114, allocations: 2.546 MB / 1.306 GB, free: 1.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.114, allocations: 4 kB / 1.306 GB, free: 1.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006055/1.12, allocations: 3.285 MB / 1.309 GB, free: 14.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.12, allocations: 14.5 kB / 1.309 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/1.12, allocations: 16 kB / 1.309 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/1.123, allocations: 0.742 MB / 1.31 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.124, allocations: 383.4 kB / 1.31 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.14, allocations: 17.05 MB / 1.327 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.142, allocations: 99.91 kB / 1.327 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.142, allocations: 79.94 kB / 1.327 GB, free: 10.9 MB / 1.061 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.002371/1.145, allocations: 1.31 MB / 1.328 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/1.145, allocations: 205.6 kB / 1.329 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/1.151, allocations: 2.777 MB / 1.331 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.151, allocations: 12 kB / 1.331 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/1.151, allocations: 15.92 kB / 1.331 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.151, allocations: 3.984 kB / 1.331 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.163, allocations: 6.236 MB / 1.337 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.163, allocations: 4 kB / 1.337 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.164, allocations: 227.8 kB / 1.338 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/1.167, allocations: 0.6635 MB / 1.338 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/1.167, allocations: 35.98 kB / 1.338 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.182, allocations: 16.77 MB / 1.355 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.182, allocations: 8 kB / 1.355 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006501/1.189, allocations: 4.008 MB / 1.359 GB, free: 9.012 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.19, allocations: 454.7 kB / 1.359 GB, free: 8.547 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/1.19, allocations: 39.94 kB / 1.359 GB, free: 8.508 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.192, allocations: 79.89 kB / 1.359 GB, free: 8.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/1.192, allocations: 116.7 kB / 1.359 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.192, allocations: 44 kB / 1.359 GB, free: 8.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001515/1.194, allocations: 0.9903 MB / 1.36 GB, free: 7.289 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.194, allocations: 0 / 1.36 GB, free: 7.289 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00258/1.196, allocations: 0.6836 MB / 1.361 GB, free: 6.605 MB / 1.092 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.0003525/1.197, allocations: 155 kB / 1.361 GB, free: 6.441 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005518/1.202, allocations: 3.534 MB / 1.365 GB, free: 2.793 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.202, allocations: 0 / 1.365 GB, free: 2.793 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/1.205, allocations: 2.292 MB / 1.367 GB, free: 396 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.209, allocations: 0.6664 MB / 1.367 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.222, allocations: 6.961 MB / 1.374 GB, free: 8.684 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/1.225, allocations: 2.715 MB / 1.377 GB, free: 5.938 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.226, allocations: 131.4 kB / 1.377 GB, free: 5.809 MB / 1.107 GB Notification: Performance of SimCode: time 8.42e-07/1.226, allocations: 0 / 1.377 GB, free: 5.809 MB / 1.107 GB Notification: Performance of Templates: time 0.876/2.102, allocations: 209.9 MB / 1.582 GB, free: 358.6 MB / 1.279 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