Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, 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.00155/0.00155, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.724, allocations: 140.3 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03654/0.7606, allocations: 34.54 MB / 0.9828 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.782, allocations: 11.38 MB / 0.994 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.787, allocations: 143.2 kB / 0.9941 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.7987, allocations: 4.006 MB / 0.998 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007674/0.8064, allocations: 1.828 MB / 0.9998 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007564/0.814, allocations: 2.187 MB / 1.002 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.8259, allocations: 8.483 MB / 1.01 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02517/0.8511, allocations: 13.45 MB / 1.023 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.8588, allocations: 3.797 MB / 1.027 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008759/0.8677, allocations: 4.386 MB / 1.031 GB, free: 13.56 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.8706, allocations: 0.7812 MB / 1.032 GB, free: 12.78 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/0.8761, allocations: 2.028 MB / 1.034 GB, free: 10.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004908/0.8811, allocations: 3.057 MB / 1.037 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009244/0.8904, allocations: 3.396 MB / 1.04 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02498/0.9154, allocations: 12.02 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.9154, allocations: 0 / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9154, allocations: 0 / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004801/0.9159, allocations: 4 kB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02171/0.9377, allocations: 5.795 MB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.9377, allocations: 8.031 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/0.9448, allocations: 1.06 MB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/0.9529, allocations: 3.262 MB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.9533, allocations: 411.5 kB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/0.9557, allocations: 0.5508 MB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.9787, allocations: 9.075 MB / 1.072 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.979, allocations: 27.77 kB / 1.072 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/0.9802, allocations: 244 kB / 1.072 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004186/0.9806, allocations: 346.8 kB / 1.072 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.997, allocations: 6.83 MB / 1.079 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/1.052, allocations: 40.1 MB / 1.118 GB, free: 356 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/1.056, allocations: 3.108 MB / 1.121 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/1.058, allocations: 1.97 MB / 1.123 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.059, allocations: 22 kB / 1.123 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.059, allocations: 48.56 kB / 1.123 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 5.1e-06/1.059, allocations: 7.938 kB / 1.123 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02609/1.085, allocations: 9.97 MB / 1.133 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.085, allocations: 73.41 kB / 1.133 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.087, allocations: 1.522 MB / 1.135 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/1.087, allocations: 57.64 kB / 1.135 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.089, allocations: 2.257 MB / 1.137 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/1.09, allocations: 0.6238 MB / 1.137 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007302/1.091, allocations: 423.8 kB / 1.138 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.091, allocations: 305.1 kB / 1.138 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.093, allocations: 1.176 MB / 1.139 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/1.095, allocations: 1.885 MB / 1.141 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/1.099, allocations: 3.363 MB / 1.144 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/1.099, allocations: 8 kB / 1.144 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008364/1.108, allocations: 4.581 MB / 1.149 GB, free: 15.95 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/1.108, allocations: 12 kB / 1.149 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/1.108, allocations: 24 kB / 1.149 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003889/1.112, allocations: 1.591 MB / 1.15 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.113, allocations: 351.4 kB / 1.151 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/1.138, allocations: 18.61 MB / 1.169 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.14, allocations: 115.9 kB / 1.169 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/1.14, allocations: 100 kB / 1.169 GB, free: 10.59 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00362/1.144, allocations: 1.89 MB / 1.171 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006044/1.144, allocations: 225.3 kB / 1.171 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/1.151, allocations: 4.094 MB / 1.175 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.152, allocations: 16 kB / 1.175 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.152, allocations: 16.11 kB / 1.175 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.152, allocations: 15.91 kB / 1.175 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.168, allocations: 9.474 MB / 1.185 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.168, allocations: 8.188 kB / 1.185 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/1.169, allocations: 179.7 kB / 1.185 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/1.173, allocations: 1.368 MB / 1.186 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/1.173, allocations: 35.94 kB / 1.186 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/1.195, allocations: 17.37 MB / 1.203 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.195, allocations: 7.938 kB / 1.203 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/1.202, allocations: 4.069 MB / 1.207 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.203, allocations: 0.5218 MB / 1.208 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.203, allocations: 43.98 kB / 1.208 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/1.204, allocations: 87.89 kB / 1.208 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005073/1.205, allocations: 157.7 kB / 1.208 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.205, allocations: 44 kB / 1.208 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001393/1.206, allocations: 1.005 MB / 1.209 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/1.206, allocations: 0 / 1.209 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003042/1.209, allocations: 0.9922 MB / 1.21 GB, free: 15.99 MB / 0.9825 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/1.21, allocations: 145.2 kB / 1.21 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008634/1.218, allocations: 5.202 MB / 1.215 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/1.218, allocations: 4.312 kB / 1.215 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004444/1.223, allocations: 2.661 MB / 1.218 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.226, allocations: 0.7771 MB / 1.218 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.245, allocations: 11.02 MB / 1.229 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004726/1.25, allocations: 3.572 MB / 1.233 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001595/1.251, allocations: 463.9 kB / 1.233 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/1.252, allocations: 123.4 kB / 1.233 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.252, allocations: 0 / 1.233 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.5987/1.85, allocations: 44.22 MB / 1.276 GB, free: 269.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches