Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001327/0.001327, allocations: 192 kB / 16.25 MB, free: 6.637 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.677/2.677, allocations: 437 MB / 0.7101 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8013, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02508/0.8264, allocations: 20.11 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.8392, allocations: 6.394 MB / 1.043 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.842, allocations: 79.56 kB / 1.043 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00609/0.8481, allocations: 2.092 MB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.8527, allocations: 1.089 MB / 1.046 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.8567, allocations: 1.175 MB / 1.047 GB, free: 3.758 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006795/0.8635, allocations: 4.869 MB / 1.052 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.8745, allocations: 6.758 MB / 1.058 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.8785, allocations: 2.118 MB / 1.06 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.8829, allocations: 2.457 MB / 1.063 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.8844, allocations: 428 kB / 1.063 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.8874, allocations: 1.01 MB / 1.064 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.8896, allocations: 1.661 MB / 1.066 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.8924, allocations: 1.914 MB / 1.068 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007254/0.8997, allocations: 6.52 MB / 1.074 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8998, allocations: 0 / 1.074 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.876e-06/0.8998, allocations: 0 / 1.074 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002093/0.9, allocations: 0 / 1.074 GB, free: 7.902 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008182/0.9082, allocations: 3.452 MB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.9083, allocations: 15.97 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.9116, allocations: 0.6372 MB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.9148, allocations: 1.939 MB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.915, allocations: 222.3 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/0.9154, allocations: 292.3 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008341/0.9238, allocations: 4.886 MB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.074e-05/0.9239, allocations: 15.83 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.9242, allocations: 132 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004333/0.9247, allocations: 229.7 kB / 1.086 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.9308, allocations: 3.75 MB / 1.089 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/0.9542, allocations: 21.57 MB / 1.11 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.956, allocations: 1.312 MB / 1.112 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.9574, allocations: 1.046 MB / 1.113 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.9575, allocations: 16.92 kB / 1.113 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.9576, allocations: 47.56 kB / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.9576, allocations: 0 / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.0241/0.9817, allocations: 8.653 MB / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.9818, allocations: 64.72 kB / 1.121 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.9834, allocations: 1.134 MB / 1.122 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.9836, allocations: 49.7 kB / 1.122 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/0.9844, allocations: 1.3 MB / 1.124 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.9848, allocations: 481 kB / 1.124 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.9853, allocations: 287.4 kB / 1.124 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9854, allocations: 305.1 kB / 1.125 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.9866, allocations: 0.9174 MB / 1.126 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.9881, allocations: 1.326 MB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.9911, allocations: 2.426 MB / 1.129 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.9911, allocations: 4 kB / 1.129 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006137/0.9973, allocations: 3.468 MB / 1.133 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.9973, allocations: 12.06 kB / 1.133 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.9973, allocations: 12 kB / 1.133 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/1.001, allocations: 1.189 MB / 1.134 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.002, allocations: 259.6 kB / 1.134 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.02, allocations: 13.85 MB / 1.148 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.022, allocations: 91.91 kB / 1.148 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/1.022, allocations: 67.94 kB / 1.148 GB, free: 9.25 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002798/1.025, allocations: 1.111 MB / 1.149 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/1.025, allocations: 166.1 kB / 1.149 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/1.032, allocations: 3.169 MB / 1.152 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.032, allocations: 12 kB / 1.152 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.959e-05/1.032, allocations: 15.94 kB / 1.152 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.032, allocations: 11.97 kB / 1.152 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.045, allocations: 6.241 MB / 1.158 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.045, allocations: 7.984 kB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/1.046, allocations: 143.8 kB / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.049, allocations: 1.088 MB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.049, allocations: 24 kB / 1.159 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/1.067, allocations: 13.56 MB / 1.173 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.067, allocations: 8 kB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/1.072, allocations: 3.15 MB / 1.176 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/1.073, allocations: 423.1 kB / 1.176 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.074, allocations: 35.92 kB / 1.176 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.075, allocations: 79.91 kB / 1.176 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/1.075, allocations: 120.7 kB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/1.075, allocations: 44 kB / 1.176 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001276/1.077, allocations: 0.7671 MB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 3.938 kB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002395/1.079, allocations: 0.6562 MB / 1.178 GB, free: 9.734 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/1.079, allocations: 143.1 kB / 1.178 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006097/1.085, allocations: 3.63 MB / 1.181 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.085, allocations: 0.75 kB / 1.181 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/1.089, allocations: 1.951 MB / 1.183 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.091, allocations: 0.5028 MB / 1.184 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.103, allocations: 6.74 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00354/1.107, allocations: 2.34 MB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001417/1.108, allocations: 346.1 kB / 1.193 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/1.109, allocations: 87.42 kB / 1.193 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of SimCode: time 1.503e-06/1.109, allocations: 0 / 1.193 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of Templates: time 0.06315/1.172, allocations: 32.85 MB / 1.225 GB, free: 9.391 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches