Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001495/0.001495, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001497/0.001497, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 66.16 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3049, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4921/0.797, allocations: 26.42 MB / 1.09 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.8099, allocations: 8.008 MB / 1.098 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.8131, allocations: 112.1 kB / 1.098 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006693/0.8199, allocations: 2.577 MB / 1.1 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.8252, allocations: 1.46 MB / 1.102 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.8299, allocations: 1.538 MB / 1.103 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008995/0.8389, allocations: 6.159 MB / 1.109 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01673/0.8556, allocations: 8.942 MB / 1.118 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005957/0.8616, allocations: 2.619 MB / 1.121 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006362/0.868, allocations: 2.973 MB / 1.124 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.8703, allocations: 0.5086 MB / 1.124 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.8754, allocations: 1.28 MB / 1.125 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005009/0.8805, allocations: 2.054 MB / 1.127 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008156/0.8887, allocations: 2.38 MB / 1.13 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.8997, allocations: 6.859 MB / 1.136 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.8997, allocations: 2.766 kB / 1.136 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8997, allocations: 0 / 1.136 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002693/0.9, allocations: 1.094 kB / 1.136 GB, free: 5.484 MB / 0.8575 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.01493/0.9149, allocations: 4.234 MB / 1.14 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.915, allocations: 8.875 kB / 1.14 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.9211, allocations: 0.7984 MB / 1.141 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/0.9279, allocations: 2.429 MB / 1.144 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.9283, allocations: 275.1 kB / 1.144 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/0.9304, allocations: 373.2 kB / 1.144 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.947, allocations: 5.99 MB / 1.15 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.9473, allocations: 23.22 kB / 1.15 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.9485, allocations: 159.4 kB / 1.15 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007331/0.9493, allocations: 283.9 kB / 1.151 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.9598, allocations: 4.515 MB / 1.155 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03704/0.9969, allocations: 27.66 MB / 1.182 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.9988, allocations: 1.129 MB / 1.183 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1, allocations: 1.023 MB / 1.184 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/1, allocations: 13 kB / 1.184 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1, allocations: 47.5 kB / 1.184 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/1.001, allocations: 4 kB / 1.184 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=131): time 0.02263/1.023, allocations: 9.668 MB / 1.194 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.023, allocations: 64.72 kB / 1.194 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/1.026, allocations: 1.506 MB / 1.195 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.026, allocations: 49.7 kB / 1.195 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.027, allocations: 1.663 MB / 1.197 GB, free: 15.99 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/1.027, allocations: 469.3 kB / 1.197 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/1.028, allocations: 331.2 kB / 1.198 GB, free: 15.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.028, allocations: 305.1 kB / 1.198 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.03, allocations: 0.9174 MB / 1.199 GB, free: 13.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.031, allocations: 1.467 MB / 1.2 GB, free: 12.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.035, allocations: 2.542 MB / 1.203 GB, free: 9.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.035, allocations: 8 kB / 1.203 GB, free: 9.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006187/1.041, allocations: 3.286 MB / 1.206 GB, free: 6.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/1.041, allocations: 12 kB / 1.206 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.041, allocations: 16 kB / 1.206 GB, free: 6.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/1.044, allocations: 0.7493 MB / 1.207 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.045, allocations: 383.4 kB / 1.207 GB, free: 4.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.063, allocations: 17.05 MB / 1.224 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.065, allocations: 99.91 kB / 1.224 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/1.065, allocations: 76 kB / 1.224 GB, free: 2.496 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.002979/1.068, allocations: 1.31 MB / 1.225 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000595/1.069, allocations: 205.6 kB / 1.225 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/1.074, allocations: 2.784 MB / 1.228 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.075, allocations: 12 kB / 1.228 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.075, allocations: 11.98 kB / 1.228 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.075, allocations: 7.922 kB / 1.228 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.088, allocations: 6.228 MB / 1.234 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.088, allocations: 4 kB / 1.234 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.09, allocations: 228.3 kB / 1.234 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/1.092, allocations: 0.6868 MB / 1.235 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.092, allocations: 35.98 kB / 1.235 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.11, allocations: 16.78 MB / 1.251 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.11, allocations: 11.94 kB / 1.251 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/1.117, allocations: 4.004 MB / 1.255 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.118, allocations: 450.6 kB / 1.256 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006028/1.119, allocations: 43.84 kB / 1.256 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.12, allocations: 79.94 kB / 1.256 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/1.12, allocations: 116.6 kB / 1.256 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.12, allocations: 40.12 kB / 1.256 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001753/1.122, allocations: 0.9942 MB / 1.257 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/1.122, allocations: 0 / 1.257 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002871/1.125, allocations: 0.6836 MB / 1.258 GB, free: 14.18 MB / 0.9825 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.0003239/1.125, allocations: 155 kB / 1.258 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007055/1.132, allocations: 4.104 MB / 1.262 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.133, allocations: 0 / 1.262 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/1.136, allocations: 2.288 MB / 1.264 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.14, allocations: 0.6757 MB / 1.265 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.155, allocations: 8.613 MB / 1.273 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004117/1.159, allocations: 2.719 MB / 1.276 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/1.16, allocations: 135.4 kB / 1.276 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.16, allocations: 0 / 1.276 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.2237/1.384, allocations: 209.6 MB / 1.481 GB, free: 9.422 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches