Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001852/0.001852, allocations: 189.8 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.26 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.483/2.483, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.7 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2791, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03409/0.3132, allocations: 30.75 MB / 0.9803 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.3338, allocations: 13.61 MB / 0.9936 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.3372, allocations: 139.3 kB / 0.9937 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008304/0.3456, allocations: 3.192 MB / 0.9969 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00775/0.3533, allocations: 2.664 MB / 0.9995 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.3584, allocations: 2.011 MB / 1.001 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008999/0.3674, allocations: 7.618 MB / 1.009 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009321/0.3768, allocations: 8.287 MB / 1.017 GB, free: 4.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.3824, allocations: 3.396 MB / 1.02 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005237/0.3876, allocations: 3.387 MB / 1.024 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009594/0.3886, allocations: 0.5977 MB / 1.024 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.3915, allocations: 1.49 MB / 1.026 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.3935, allocations: 2.374 MB / 1.028 GB, free: 9 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.3968, allocations: 2.882 MB / 1.031 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008692/0.4055, allocations: 9.395 MB / 1.04 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4055, allocations: 0 / 1.04 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4055, allocations: 0 / 1.04 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000189/0.4057, allocations: 0 / 1.04 GB, free: 12.68 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009593/0.4153, allocations: 5.14 MB / 1.045 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4154, allocations: 8.031 kB / 1.045 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.4206, allocations: 1.002 MB / 1.046 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.4254, allocations: 2.884 MB / 1.049 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.4256, allocations: 320.8 kB / 1.049 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005954/0.4262, allocations: 428 kB / 1.049 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009898/0.4361, allocations: 6.784 MB / 1.056 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-05/0.4363, allocations: 27.72 kB / 1.056 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.4367, allocations: 184 kB / 1.056 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008378/0.4375, allocations: 372 kB / 1.057 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007795/0.4453, allocations: 5.114 MB / 1.062 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4649/0.9103, allocations: 30.74 MB / 1.092 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.9136, allocations: 1.385 MB / 1.093 GB, free: 108.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.9164, allocations: 1.329 MB / 1.094 GB, free: 108.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.9166, allocations: 14.31 kB / 1.094 GB, free: 108.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.9166, allocations: 50.89 kB / 1.094 GB, free: 108.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 5.019e-06/0.9166, allocations: 0 / 1.094 GB, free: 108.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.1141/1.031, allocations: 23.08 MB / 1.117 GB, free: 104 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.031, allocations: 72.66 kB / 1.117 GB, free: 103.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.035, allocations: 2.06 MB / 1.119 GB, free: 103.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.035, allocations: 58.77 kB / 1.119 GB, free: 103.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/1.037, allocations: 2.007 MB / 1.121 GB, free: 101.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007453/1.037, allocations: 0.6819 MB / 1.122 GB, free: 101 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.038, allocations: 410.5 kB / 1.122 GB, free: 100.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/1.039, allocations: 306.3 kB / 1.122 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.041, allocations: 1.428 MB / 1.124 GB, free: 99.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/1.043, allocations: 2.018 MB / 1.126 GB, free: 98.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/1.048, allocations: 3.693 MB / 1.129 GB, free: 95.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/1.048, allocations: 3.969 kB / 1.129 GB, free: 95.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01046/1.058, allocations: 5.657 MB / 1.135 GB, free: 92.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/1.058, allocations: 15.78 kB / 1.135 GB, free: 92.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.058, allocations: 19.91 kB / 1.135 GB, free: 92.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006188/1.064, allocations: 2.106 MB / 1.137 GB, free: 91.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/1.066, allocations: 374.2 kB / 1.137 GB, free: 91.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/1.097, allocations: 38.45 MB / 1.175 GB, free: 56.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.1, allocations: 127.9 kB / 1.175 GB, free: 56.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005139/1.1, allocations: 92.06 kB / 1.175 GB, free: 56.34 MB / 0.8575 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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.002635/1.103, allocations: 1.512 MB / 1.177 GB, free: 54.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006991/1.103, allocations: 281.8 kB / 1.177 GB, free: 54.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008713/1.112, allocations: 5.211 MB / 1.182 GB, free: 49.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.112, allocations: 20 kB / 1.182 GB, free: 49.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.143e-05/1.112, allocations: 16 kB / 1.182 GB, free: 49.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.112, allocations: 7.969 kB / 1.182 GB, free: 49.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.128, allocations: 9.682 MB / 1.191 GB, free: 39.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.129, allocations: 8 kB / 1.191 GB, free: 39.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/1.129, allocations: 215.7 kB / 1.192 GB, free: 39.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005264/1.135, allocations: 1.856 MB / 1.193 GB, free: 37.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/1.135, allocations: 36 kB / 1.193 GB, free: 37.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02811/1.163, allocations: 37.47 MB / 1.23 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.163, allocations: 12.5 kB / 1.23 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009375/1.173, allocations: 4.912 MB / 1.235 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.174, allocations: 0.6186 MB / 1.235 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.175, allocations: 40 kB / 1.235 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.177, allocations: 127.8 kB / 1.236 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/1.178, allocations: 193.6 kB / 1.236 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.178, allocations: 55.66 kB / 1.236 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002627/1.181, allocations: 1.382 MB / 1.237 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 4 kB / 1.237 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004429/1.185, allocations: 1.051 MB / 1.238 GB, free: 4.703 MB / 0.8731 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.185, allocations: 163.5 kB / 1.238 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.198, allocations: 7.229 MB / 1.245 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.198, allocations: 8.062 kB / 1.245 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007018/1.205, allocations: 4.378 MB / 1.25 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/1.211, allocations: 0.9886 MB / 1.251 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.231, allocations: 8.711 MB / 1.259 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005907/1.237, allocations: 3.182 MB / 1.262 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009014/1.238, allocations: 163.4 kB / 1.262 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of SimCode: time 1.814e-06/1.238, allocations: 0 / 1.262 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.8527/2.091, allocations: 464.7 MB / 1.716 GB, free: 213 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches