Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001601/0.001602, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.15 MB / 206.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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8532, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04085/0.8941, allocations: 32.61 MB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.9148, allocations: 10.26 MB / 1.13 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/0.9198, allocations: 150.3 kB / 1.131 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.9307, allocations: 3.713 MB / 1.134 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.9379, allocations: 1.853 MB / 1.136 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007705/0.9457, allocations: 2.133 MB / 1.138 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.9582, allocations: 7.323 MB / 1.145 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01689/0.9752, allocations: 9.421 MB / 1.155 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007169/0.9824, allocations: 3.227 MB / 1.158 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009364/0.9918, allocations: 3.486 MB / 1.161 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003759/0.9956, allocations: 0.6454 MB / 1.162 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007864/1.003, allocations: 1.766 MB / 1.163 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005944/1.009, allocations: 2.553 MB / 1.166 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008511/1.018, allocations: 2.894 MB / 1.169 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/1.036, allocations: 10.11 MB / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.036, allocations: 0 / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/1.036, allocations: 0 / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004318/1.036, allocations: 0 / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01822/1.054, allocations: 4.998 MB / 1.183 GB, free: 11.35 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.055, allocations: 9.625 kB / 1.184 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/1.062, allocations: 0.9561 MB / 1.184 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007055/1.069, allocations: 3.042 MB / 1.187 GB, free: 8.691 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/1.069, allocations: 345.7 kB / 1.188 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/1.071, allocations: 464.2 kB / 1.188 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/1.088, allocations: 7.671 MB / 1.196 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/1.088, allocations: 23.78 kB / 1.196 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008416/1.089, allocations: 195.9 kB / 1.196 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/1.089, allocations: 316.9 kB / 1.196 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/1.101, allocations: 5.71 MB / 1.202 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04124/1.143, allocations: 34.82 MB / 1.236 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.145, allocations: 2.15 MB / 1.238 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.147, allocations: 1.272 MB / 1.239 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.791e-05/1.147, allocations: 13.31 kB / 1.239 GB, free: 48 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.147, allocations: 51.86 kB / 1.239 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.457e-06/1.147, allocations: 0 / 1.239 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01432/1.161, allocations: 7.088 MB / 1.246 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.162, allocations: 64.72 kB / 1.246 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/1.164, allocations: 1.488 MB / 1.248 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/1.164, allocations: 53.7 kB / 1.248 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.165, allocations: 1.996 MB / 1.25 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/1.166, allocations: 489 kB / 1.25 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/1.166, allocations: 347.1 kB / 1.25 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.167, allocations: 305.1 kB / 1.251 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.168, allocations: 0.9096 MB / 1.252 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.17, allocations: 1.597 MB / 1.253 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/1.173, allocations: 2.741 MB / 1.256 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.173, allocations: 4 kB / 1.256 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006216/1.179, allocations: 3.526 MB / 1.259 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.179, allocations: 19.31 kB / 1.259 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/1.179, allocations: 27.98 kB / 1.259 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/1.182, allocations: 0.9115 MB / 1.26 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.183, allocations: 347.4 kB / 1.261 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/1.204, allocations: 23.1 MB / 1.283 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.206, allocations: 104 kB / 1.283 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/1.207, allocations: 84 kB / 1.283 GB, free: 56 kB / 1.014 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.003162/1.21, allocations: 1.615 MB / 1.285 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.21, allocations: 205.5 kB / 1.285 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/1.216, allocations: 2.99 MB / 1.288 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.216, allocations: 15.94 kB / 1.288 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/1.216, allocations: 12 kB / 1.288 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.216, allocations: 7.969 kB / 1.288 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/1.228, allocations: 7.336 MB / 1.295 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.228, allocations: 4 kB / 1.295 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008/1.228, allocations: 175.7 kB / 1.295 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/1.231, allocations: 0.8302 MB / 1.296 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.231, allocations: 24 kB / 1.296 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/1.25, allocations: 21.95 MB / 1.318 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.25, allocations: 7.938 kB / 1.318 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/1.256, allocations: 3.021 MB / 1.321 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.257, allocations: 458.5 kB / 1.321 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/1.257, allocations: 35.92 kB / 1.321 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/1.258, allocations: 67.92 kB / 1.321 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/1.258, allocations: 128.7 kB / 1.321 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/1.258, allocations: 40 kB / 1.321 GB, free: 7.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001323/1.26, allocations: 0.9756 MB / 1.322 GB, free: 6.012 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.26, allocations: 0 / 1.322 GB, free: 6.012 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003013/1.263, allocations: 0.7852 MB / 1.323 GB, free: 5.227 MB / 1.061 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/1.263, allocations: 149.7 kB / 1.323 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005825/1.269, allocations: 4.042 MB / 1.327 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.269, allocations: 0 / 1.327 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003687/1.273, allocations: 2.733 MB / 1.33 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/1.276, allocations: 0.7227 MB / 1.33 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.29, allocations: 7.747 MB / 1.338 GB, free: 5.449 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.293, allocations: 3.171 MB / 1.341 GB, free: 2.246 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/1.294, allocations: 131.4 kB / 1.341 GB, free: 2.117 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/1.294, allocations: 4 kB / 1.341 GB, free: 2.113 MB / 1.076 GB Notification: Performance of Templates: time 0.8907/2.185, allocations: 321.7 MB / 1.655 GB, free: 405.4 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches