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.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_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.001865/0.001865, allocations: 108 kB / 15.6 MB, free: 132 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.002111/0.002112, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.639/1.639, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.828/2.828, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.00231, allocations: 75.88 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7978, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04443/0.8423, allocations: 33.34 MB / 1.05 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.8689, allocations: 14.81 MB / 1.064 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004286/0.8732, allocations: 163.2 kB / 1.064 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.8849, allocations: 3.658 MB / 1.068 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.8967, allocations: 2.895 MB / 1.071 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007559/0.9043, allocations: 2.314 MB / 1.073 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01422/0.9186, allocations: 8.806 MB / 1.082 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.9338, allocations: 9.644 MB / 1.091 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007458/0.9413, allocations: 3.946 MB / 1.095 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00724/0.9485, allocations: 4.034 MB / 1.099 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.9509, allocations: 0.7148 MB / 1.1 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.9565, allocations: 1.724 MB / 1.101 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004674/0.9612, allocations: 2.826 MB / 1.104 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.009728/0.971, allocations: 3.388 MB / 1.107 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.9869, allocations: 11.11 MB / 1.118 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.987, allocations: 3.938 kB / 1.118 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.392e-06/0.987, allocations: 0 / 1.118 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000369/0.9873, allocations: 0 / 1.118 GB, free: 10.66 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.01799/1.005, allocations: 5.979 MB / 1.124 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.005, allocations: 15.98 kB / 1.124 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00747/1.013, allocations: 1.142 MB / 1.125 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008229/1.021, allocations: 3.328 MB / 1.128 GB, free: 36 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/1.022, allocations: 370.5 kB / 1.129 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/1.024, allocations: 500 kB / 1.129 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/1.045, allocations: 8.005 MB / 1.137 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/1.045, allocations: 15.84 kB / 1.137 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.046, allocations: 216 kB / 1.137 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/1.048, allocations: 441.5 kB / 1.138 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/1.062, allocations: 6.081 MB / 1.144 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05303/1.115, allocations: 35.16 MB / 1.178 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/1.119, allocations: 2.026 MB / 1.18 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/1.122, allocations: 1.865 MB / 1.182 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/1.122, allocations: 21.98 kB / 1.182 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/1.123, allocations: 64.44 kB / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 3.317e-06/1.123, allocations: 0 / 1.182 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1582/1.281, allocations: 38.86 MB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/1.281, allocations: 81.58 kB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/1.285, allocations: 2.282 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/1.285, allocations: 73.7 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.287, allocations: 2.276 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.288, allocations: 0.9319 MB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.289, allocations: 0.5061 MB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.29, allocations: 305.1 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/1.293, allocations: 1.981 MB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/1.297, allocations: 2.599 MB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/1.304, allocations: 4.933 MB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.304, allocations: 7.938 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01579/1.32, allocations: 7.754 MB / 1.243 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.32, allocations: 16.16 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/1.32, allocations: 20 kB / 1.243 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009831/1.33, allocations: 3.229 MB / 1.246 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/1.332, allocations: 407.3 kB / 1.247 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6027/1.934, allocations: 33.89 MB / 1.28 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.938, allocations: 160.7 kB / 1.28 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/1.938, allocations: 110.8 kB / 1.28 GB, free: 193 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.004704/1.943, allocations: 1.799 MB / 1.282 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.944, allocations: 332.4 kB / 1.282 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.956, allocations: 7.363 MB / 1.289 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/1.956, allocations: 24 kB / 1.289 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-05/1.956, allocations: 31.34 kB / 1.289 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.956, allocations: 11.25 kB / 1.289 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/1.976, allocations: 12.92 MB / 1.302 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.976, allocations: 15.69 kB / 1.302 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/1.977, allocations: 234.1 kB / 1.302 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007102/1.984, allocations: 2.891 MB / 1.305 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.984, allocations: 47.38 kB / 1.305 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03304/2.017, allocations: 32.68 MB / 1.337 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.017, allocations: 8 kB / 1.337 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/2.027, allocations: 6.894 MB / 1.344 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/2.029, allocations: 0.7744 MB / 1.344 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/2.03, allocations: 56 kB / 1.344 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/2.031, allocations: 167.8 kB / 1.345 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008551/2.032, allocations: 253.4 kB / 1.345 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/2.032, allocations: 76 kB / 1.345 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001708/2.034, allocations: 1.521 MB / 1.346 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.034, allocations: 0 / 1.346 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003863/2.038, allocations: 1.371 MB / 1.348 GB, free: 137.4 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.0002994/2.038, allocations: 180.7 kB / 1.348 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01228/2.05, allocations: 8.377 MB / 1.356 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.269e-05/2.051, allocations: 0.875 kB / 1.356 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00644/2.057, allocations: 4.422 MB / 1.36 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/2.061, allocations: 1.118 MB / 1.362 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/2.077, allocations: 10.2 MB / 1.372 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/2.08, allocations: 3.642 MB / 1.375 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002278/2.082, allocations: 0.5556 MB / 1.376 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/2.083, allocations: 163.4 kB / 1.376 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/2.083, allocations: 0 / 1.376 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1175/2.2, allocations: 77.55 MB / 1.451 GB, free: 32.13 MB / 0.9981 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=400 -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/jenkins/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