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.0009705/0.0009706, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 181.2 kB / 16.92 MB, free: 6.891 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.524/2.524, allocations: 437.8 MB / 0.7128 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.6423, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03316/0.6755, allocations: 32.23 MB / 1.055 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.6984, allocations: 14.62 MB / 1.069 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.7016, allocations: 131.2 kB / 1.07 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.704, allocations: 0.7249 MB / 1.07 GB, free: 40 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.7123, allocations: 2.686 MB / 1.073 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.7176, allocations: 1.989 MB / 1.075 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.7315, allocations: 12.21 MB / 1.087 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01917/0.7507, allocations: 11.51 MB / 1.098 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005838/0.7566, allocations: 2.977 MB / 1.101 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005744/0.7624, allocations: 3.499 MB / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.7638, allocations: 296 kB / 1.105 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.7678, allocations: 1.552 MB / 1.106 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003348/0.7712, allocations: 2.291 MB / 1.108 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004829/0.776, allocations: 2.788 MB / 1.111 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009321/0.7854, allocations: 9.198 MB / 1.12 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7854, allocations: 4 kB / 1.12 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7854, allocations: 0 / 1.12 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002825/0.7857, allocations: 0 / 1.12 GB, free: 12.82 MB / 0.8731 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.01094/0.7966, allocations: 4.833 MB / 1.125 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7967, allocations: 11.98 kB / 1.125 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/0.8042, allocations: 1.149 MB / 1.126 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007025/0.8113, allocations: 3.325 MB / 1.129 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.8116, allocations: 374.4 kB / 1.13 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.813, allocations: 500 kB / 1.13 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.8284, allocations: 8.009 MB / 1.138 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.8285, allocations: 19.78 kB / 1.138 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.8291, allocations: 219.9 kB / 1.138 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/0.8302, allocations: 441.5 kB / 1.138 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.8416, allocations: 6.081 MB / 1.144 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.8845, allocations: 35.23 MB / 1.179 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.8874, allocations: 2.026 MB / 1.181 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.8898, allocations: 1.854 MB / 1.183 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.847e-05/0.8899, allocations: 18 kB / 1.183 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.89, allocations: 60.5 kB / 1.183 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.088e-06/0.89, allocations: 0 / 1.183 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1511/1.041, allocations: 39.01 MB / 1.221 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.041, allocations: 77.58 kB / 1.221 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/1.044, allocations: 2.278 MB / 1.223 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003952/1.045, allocations: 77.7 kB / 1.223 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.046, allocations: 2.272 MB / 1.225 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.047, allocations: 0.9356 MB / 1.226 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/1.048, allocations: 231.8 kB / 1.227 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/1.048, allocations: 313 kB / 1.227 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.051, allocations: 1.973 MB / 1.229 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/1.054, allocations: 2.602 MB / 1.231 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006573/1.06, allocations: 4.929 MB / 1.236 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.06, allocations: 8 kB / 1.236 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01461/1.075, allocations: 7.75 MB / 1.244 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/1.075, allocations: 17.88 kB / 1.244 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.075, allocations: 16 kB / 1.244 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009265/1.084, allocations: 3.21 MB / 1.247 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.086, allocations: 411.3 kB / 1.247 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6337/1.72, allocations: 31.16 MB / 1.278 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.723, allocations: 164.5 kB / 1.278 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.723, allocations: 112 kB / 1.278 GB, free: 194.5 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 (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.003152/1.726, allocations: 1.796 MB / 1.28 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/1.727, allocations: 329.3 kB / 1.28 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.74, allocations: 7.358 MB / 1.287 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.74, allocations: 31.44 kB / 1.287 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.327e-05/1.74, allocations: 27.69 kB / 1.287 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-05/1.74, allocations: 19.31 kB / 1.287 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/1.759, allocations: 12.94 MB / 1.3 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.759, allocations: 9.562 kB / 1.3 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/1.76, allocations: 237.3 kB / 1.3 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007457/1.768, allocations: 2.846 MB / 1.303 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.768, allocations: 54.25 kB / 1.303 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/1.8, allocations: 29.98 MB / 1.332 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.8, allocations: 15.94 kB / 1.332 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.81, allocations: 6.882 MB / 1.339 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.812, allocations: 0.782 MB / 1.34 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/1.812, allocations: 59.94 kB / 1.34 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/1.814, allocations: 167.8 kB / 1.34 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/1.815, allocations: 250.6 kB / 1.34 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.815, allocations: 76 kB / 1.34 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001696/1.817, allocations: 1.533 MB / 1.342 GB, free: 146 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.817, allocations: 3.562 kB / 1.342 GB, free: 146 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003682/1.82, allocations: 1.371 MB / 1.343 GB, free: 144.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 (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.0003548/1.821, allocations: 174.9 kB / 1.343 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.83, allocations: 6.903 MB / 1.35 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.83, allocations: 4 kB / 1.35 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006348/1.837, allocations: 4.426 MB / 1.354 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006865/1.844, allocations: 1.025 MB / 1.355 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.859, allocations: 13.18 MB / 1.368 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/1.862, allocations: 3.763 MB / 1.372 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.863, allocations: 167.4 kB / 1.372 GB, free: 114.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.863, allocations: 0 / 1.372 GB, free: 114.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.2184/2.081, allocations: 226.7 MB / 1.593 GB, free: 100 kB / 1.107 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 -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