Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001389/0.001389, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.2 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.446/2.446, allocations: 437.1 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.03 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2909, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02388/0.3148, allocations: 22.6 MB / 1.041 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.3269, allocations: 6.221 MB / 1.047 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.3289, allocations: 91.56 kB / 1.047 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.333, allocations: 1.546 MB / 1.049 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.3371, allocations: 1.637 MB / 1.05 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3404, allocations: 1.34 MB / 1.051 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006461/0.3469, allocations: 5.939 MB / 1.057 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006857/0.3537, allocations: 6.052 MB / 1.063 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.3574, allocations: 2.415 MB / 1.066 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/0.362, allocations: 2.87 MB / 1.068 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00099/0.363, allocations: 456 kB / 1.069 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.3657, allocations: 1.1 MB / 1.07 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.368, allocations: 2.035 MB / 1.072 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.3707, allocations: 2.163 MB / 1.074 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.5825/0.9532, allocations: 7.285 MB / 1.081 GB, free: 32.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.9532, allocations: 0 / 1.081 GB, free: 32.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.937e-06/0.9532, allocations: 0.7969 kB / 1.081 GB, free: 32.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002567/0.9535, allocations: 4.562 kB / 1.081 GB, free: 32.43 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01323/0.9668, allocations: 3.818 MB / 1.085 GB, free: 30.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.9668, allocations: 11.25 kB / 1.085 GB, free: 30.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/0.9739, allocations: 1.209 MB / 1.086 GB, free: 30.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006997/0.9809, allocations: 2.34 MB / 1.088 GB, free: 30.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.9812, allocations: 238.2 kB / 1.088 GB, free: 30.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.9827, allocations: 320.5 kB / 1.089 GB, free: 30.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/1.002, allocations: 6.214 MB / 1.095 GB, free: 29.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/1.002, allocations: 17.81 kB / 1.095 GB, free: 29.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/1.003, allocations: 140.2 kB / 1.095 GB, free: 29.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006687/1.003, allocations: 405.3 kB / 1.095 GB, free: 29.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/1.014, allocations: 4.664 MB / 1.1 GB, free: 28.86 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/1.048, allocations: 28.95 MB / 1.128 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.05, allocations: 1.422 MB / 1.13 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/1.052, allocations: 1.483 MB / 1.131 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/1.052, allocations: 12 kB / 1.131 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.052, allocations: 43.34 kB / 1.131 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/1.052, allocations: 1.719 kB / 1.131 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.1313/1.183, allocations: 37.23 MB / 1.167 GB, free: 260 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.184, allocations: 76.95 kB / 1.168 GB, free: 176 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/1.186, allocations: 1.419 MB / 1.169 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005216/1.187, allocations: 57.08 kB / 1.169 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.188, allocations: 1.537 MB / 1.17 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007698/1.188, allocations: 0.611 MB / 1.171 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/1.189, allocations: 391.1 kB / 1.171 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.189, allocations: 305.1 kB / 1.172 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/1.192, allocations: 1.784 MB / 1.173 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/1.195, allocations: 2.352 MB / 1.176 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/1.2, allocations: 4.387 MB / 1.18 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.2, allocations: 8 kB / 1.18 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01725/1.217, allocations: 8.564 MB / 1.188 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.217, allocations: 16 kB / 1.188 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.217, allocations: 16 kB / 1.188 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/1.232, allocations: 4.638 MB / 1.193 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.234, allocations: 303.4 kB / 1.193 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04593/1.28, allocations: 32.59 MB / 1.225 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.283, allocations: 155.8 kB / 1.225 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.283, allocations: 80 kB / 1.225 GB, free: 3.988 MB / 0.92 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002765/1.286, allocations: 1.334 MB / 1.227 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/1.286, allocations: 205.5 kB / 1.227 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.302, allocations: 8.43 MB / 1.235 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.302, allocations: 18.08 kB / 1.235 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.941e-05/1.303, allocations: 24 kB / 1.235 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-05/1.303, allocations: 11.97 kB / 1.235 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.328, allocations: 12.86 MB / 1.248 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.328, allocations: 8 kB / 1.248 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/1.329, allocations: 161.6 kB / 1.248 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01412/1.343, allocations: 4.491 MB / 1.252 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004722/1.344, allocations: 36 kB / 1.252 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04543/1.389, allocations: 32.18 MB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.389, allocations: 11.47 kB / 1.284 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.406, allocations: 8.242 MB / 1.292 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/1.409, allocations: 0.6195 MB / 1.292 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/1.409, allocations: 36.31 kB / 1.292 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.411, allocations: 139.8 kB / 1.293 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009677/1.412, allocations: 167.1 kB / 1.293 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.412, allocations: 56 kB / 1.293 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001446/1.413, allocations: 0.9621 MB / 1.294 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-07/1.414, allocations: 0 / 1.294 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005067/1.419, allocations: 1.117 MB / 1.295 GB, free: 12.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/1.419, allocations: 148.9 kB / 1.295 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.431, allocations: 6.536 MB / 1.301 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.431, allocations: 0 / 1.301 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008934/1.44, allocations: 4.365 MB / 1.306 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/1.443, allocations: 0.5238 MB / 1.306 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.455, allocations: 6.805 MB / 1.313 GB, free: 9.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.458, allocations: 2.723 MB / 1.315 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001098/1.459, allocations: 392.5 kB / 1.316 GB, free: 6.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/1.46, allocations: 99.44 kB / 1.316 GB, free: 6.527 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.46, allocations: 4 kB / 1.316 GB, free: 6.523 MB / 1.014 GB Notification: Performance of Templates: time 0.09189/1.552, allocations: 60.49 MB / 1.375 GB, free: 10.42 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches