Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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_10_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_10_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.001327/0.001327, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001582/0.001582, allocations: 189.3 kB / 16.25 MB, free: 6.152 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.69/2.69, allocations: 437 MB / 0.71 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.00171, allocations: 71.89 kB / 0.8687 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7742, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03288/0.8071, allocations: 30.52 MB / 1.047 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.8288, allocations: 13.45 MB / 1.06 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004643/0.8335, allocations: 131.2 kB / 1.06 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008909/0.8425, allocations: 2.982 MB / 1.063 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008865/0.8513, allocations: 2.46 MB / 1.065 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.8567, allocations: 1.844 MB / 1.067 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009635/0.8663, allocations: 7.642 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.8812, allocations: 9.939 MB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006587/0.8878, allocations: 3.446 MB / 1.087 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006536/0.8944, allocations: 3.536 MB / 1.091 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.8968, allocations: 0.6015 MB / 1.092 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.9025, allocations: 1.49 MB / 1.093 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00384/0.9064, allocations: 2.37 MB / 1.095 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005379/0.9118, allocations: 2.886 MB / 1.098 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.923, allocations: 9.476 MB / 1.107 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.9231, allocations: 0 / 1.107 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9231, allocations: 3.938 kB / 1.107 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002704/0.9233, allocations: 0 / 1.107 GB, free: 5.543 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01327/0.9366, allocations: 5.128 MB / 1.112 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.9367, allocations: 15.98 kB / 1.112 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/0.9431, allocations: 0.998 MB / 1.113 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/0.949, allocations: 2.888 MB / 1.116 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.9493, allocations: 312.8 kB / 1.117 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.9504, allocations: 432 kB / 1.117 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.9646, allocations: 6.787 MB / 1.124 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.9647, allocations: 23.78 kB / 1.124 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/0.9653, allocations: 180 kB / 1.124 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008398/0.9661, allocations: 372 kB / 1.124 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.9779, allocations: 5.118 MB / 1.129 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/1.014, allocations: 30.73 MB / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/1.016, allocations: 1.383 MB / 1.16 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.018, allocations: 1.328 MB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/1.018, allocations: 21.3 kB / 1.162 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/1.018, allocations: 51.86 kB / 1.162 GB, free: 10.54 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 4.979e-06/1.018, allocations: 0 / 1.162 GB, free: 10.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08429/1.102, allocations: 23.08 MB / 1.184 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/1.102, allocations: 73.41 kB / 1.184 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.106, allocations: 2.058 MB / 1.186 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004863/1.106, allocations: 61.7 kB / 1.186 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.108, allocations: 2.014 MB / 1.188 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009398/1.109, allocations: 0.6778 MB / 1.189 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008362/1.11, allocations: 412.1 kB / 1.19 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.11, allocations: 305.1 kB / 1.19 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/1.113, allocations: 1.433 MB / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/1.116, allocations: 2.01 MB / 1.193 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/1.121, allocations: 3.696 MB / 1.197 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/1.121, allocations: 8 kB / 1.197 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0115/1.133, allocations: 5.653 MB / 1.202 GB, free: 316 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/1.133, allocations: 12 kB / 1.202 GB, free: 304 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/1.133, allocations: 23.94 kB / 1.202 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006915/1.14, allocations: 2.099 MB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.141, allocations: 371.4 kB / 1.205 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/1.183, allocations: 38.45 MB / 1.242 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/1.186, allocations: 135.9 kB / 1.242 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.186, allocations: 84 kB / 1.243 GB, free: 4.551 MB / 0.9981 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.003526/1.189, allocations: 1.509 MB / 1.244 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/1.19, allocations: 284.6 kB / 1.244 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6023/1.792, allocations: 5.207 MB / 1.249 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/1.793, allocations: 20.12 kB / 1.249 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-05/1.793, allocations: 19.12 kB / 1.249 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/1.793, allocations: 13.59 kB / 1.249 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.813, allocations: 9.675 MB / 1.259 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.813, allocations: 11.16 kB / 1.259 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.814, allocations: 216.6 kB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/1.821, allocations: 1.856 MB / 1.261 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/1.821, allocations: 42.25 kB / 1.261 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0419/1.863, allocations: 37.47 MB / 1.297 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.863, allocations: 11.84 kB / 1.298 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.876, allocations: 4.911 MB / 1.302 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.878, allocations: 0.6119 MB / 1.303 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008942/1.879, allocations: 47.06 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.881, allocations: 128.7 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001279/1.883, allocations: 190.2 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.883, allocations: 58.5 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00302/1.886, allocations: 1.379 MB / 1.305 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.91e-07/1.886, allocations: 0 / 1.305 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005853/1.892, allocations: 1.044 MB / 1.306 GB, free: 171.6 MB / 0.9981 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.0005786/1.893, allocations: 180.6 kB / 1.306 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.906, allocations: 7.21 MB / 1.313 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.763e-05/1.906, allocations: 3.938 kB / 1.313 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009926/1.916, allocations: 4.395 MB / 1.317 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/1.924, allocations: 0.9958 MB / 1.318 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.945, allocations: 10.06 MB / 1.328 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/1.95, allocations: 3.131 MB / 1.331 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003555/1.954, allocations: 0.5159 MB / 1.332 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/1.954, allocations: 147.4 kB / 1.332 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.024e-06/1.954, allocations: 0 / 1.332 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.09201/2.046, allocations: 60.51 MB / 1.391 GB, free: 90.44 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches