Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 115.2 kB / 16.37 MB, free: 6 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.002192/0.002192, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.47 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03646/0.381, allocations: 33.34 MB / 1.051 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02448/0.4055, allocations: 14.81 MB / 1.066 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.41, allocations: 159.2 kB / 1.066 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4202, allocations: 3.663 MB / 1.07 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.4306, allocations: 2.876 MB / 1.072 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00736/0.438, allocations: 2.33 MB / 1.075 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.6511/1.089, allocations: 8.805 MB / 1.083 GB, free: 19.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01535/1.104, allocations: 9.576 MB / 1.093 GB, free: 17.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009205/1.114, allocations: 3.954 MB / 1.096 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008515/1.122, allocations: 4.044 MB / 1.1 GB, free: 17.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/1.125, allocations: 0.715 MB / 1.101 GB, free: 17.22 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/1.13, allocations: 1.72 MB / 1.103 GB, free: 17.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005101/1.135, allocations: 2.823 MB / 1.106 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/1.145, allocations: 3.391 MB / 1.109 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.166, allocations: 11.18 MB / 1.12 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.166, allocations: 0 / 1.12 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/1.166, allocations: 4 kB / 1.12 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000444/1.167, allocations: 1.031 kB / 1.12 GB, free: 11.9 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02274/1.189, allocations: 5.984 MB / 1.126 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.189, allocations: 18.94 kB / 1.126 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009137/1.199, allocations: 1.135 MB / 1.127 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/1.209, allocations: 3.519 MB / 1.13 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/1.21, allocations: 371.1 kB / 1.131 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/1.212, allocations: 498 kB / 1.131 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/1.232, allocations: 8.014 MB / 1.139 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.233, allocations: 17.53 kB / 1.139 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006281/1.233, allocations: 218 kB / 1.139 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000937/1.234, allocations: 442.6 kB / 1.139 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/1.246, allocations: 6.087 MB / 1.145 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04519/1.291, allocations: 34.89 MB / 1.179 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/1.294, allocations: 2.021 MB / 1.181 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/1.297, allocations: 1.863 MB / 1.183 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/1.297, allocations: 25.41 kB / 1.183 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.297, allocations: 58.55 kB / 1.183 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/1.297, allocations: 4 kB / 1.183 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=276): time 0.1395/1.436, allocations: 38.88 MB / 1.221 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.436, allocations: 85.23 kB / 1.221 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/1.44, allocations: 2.282 MB / 1.224 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/1.44, allocations: 73.7 kB / 1.224 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.442, allocations: 2.271 MB / 1.226 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/1.442, allocations: 0.9355 MB / 1.227 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009234/1.443, allocations: 0.5023 MB / 1.227 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/1.444, allocations: 301.1 kB / 1.228 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.446, allocations: 1.981 MB / 1.23 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/1.45, allocations: 2.604 MB / 1.232 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/1.456, allocations: 4.926 MB / 1.237 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.456, allocations: 7.938 kB / 1.237 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01425/1.47, allocations: 7.757 MB / 1.245 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.47, allocations: 12 kB / 1.245 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.471, allocations: 16 kB / 1.245 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008868/1.479, allocations: 3.214 MB / 1.248 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.481, allocations: 400.4 kB / 1.248 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04477/1.526, allocations: 33.87 MB / 1.281 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/1.53, allocations: 163.8 kB / 1.281 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.53, allocations: 104 kB / 1.281 GB, free: 0.9141 MB / 0.9825 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004183/1.534, allocations: 1.803 MB / 1.283 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.535, allocations: 332.1 kB / 1.283 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.549, allocations: 7.357 MB / 1.291 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.549, allocations: 28 kB / 1.291 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-05/1.549, allocations: 31.98 kB / 1.291 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.549, allocations: 15.95 kB / 1.291 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02638/1.576, allocations: 12.91 MB / 1.303 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.576, allocations: 8 kB / 1.303 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/1.577, allocations: 235.8 kB / 1.304 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00794/1.585, allocations: 2.858 MB / 1.306 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/1.585, allocations: 63.27 kB / 1.306 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04189/1.627, allocations: 32.65 MB / 1.338 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.627, allocations: 11.94 kB / 1.338 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.64, allocations: 6.883 MB / 1.345 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.643, allocations: 0.7859 MB / 1.346 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/1.644, allocations: 55.98 kB / 1.346 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.646, allocations: 167.8 kB / 1.346 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/1.646, allocations: 249.5 kB / 1.346 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.647, allocations: 76 kB / 1.346 GB, free: 13.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002316/1.649, allocations: 1.529 MB / 1.348 GB, free: 11.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.81e-07/1.649, allocations: 4 kB / 1.348 GB, free: 11.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004855/1.654, allocations: 1.367 MB / 1.349 GB, free: 10.21 MB / 1.061 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004428/1.654, allocations: 183 kB / 1.349 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.666, allocations: 6.929 MB / 1.356 GB, free: 2.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/1.666, allocations: 7.188 kB / 1.356 GB, free: 2.988 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00806/1.674, allocations: 4.401 MB / 1.36 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/1.68, allocations: 1.108 MB / 1.361 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.701, allocations: 10.09 MB / 1.371 GB, free: 3.281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/1.706, allocations: 3.649 MB / 1.375 GB, free: 15.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002346/1.709, allocations: 0.5517 MB / 1.375 GB, free: 15.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/1.709, allocations: 155.4 kB / 1.376 GB, free: 14.89 MB / 1.092 GB Notification: Performance of SimCode: time 9.22e-07/1.709, allocations: 0 / 1.376 GB, free: 14.89 MB / 1.092 GB Notification: Performance of Templates: time 0.1252/1.834, allocations: 75.02 MB / 1.449 GB, free: 5.047 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches