Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 113.1 kB / 16.37 MB, free: 6.012 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.001136/0.001136, allocations: 191.2 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 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.482/2.482, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 56.47 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2874, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01573/0.3032, allocations: 14.05 MB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.3171, allocations: 9.388 MB / 1.042 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.3184, allocations: 63.56 kB / 1.042 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004043/0.3225, allocations: 1.669 MB / 1.043 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.3266, allocations: 1.538 MB / 1.045 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3286, allocations: 0.7595 MB / 1.046 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.3315, allocations: 2.512 MB / 1.048 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.3332, allocations: 1.411 MB / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.3345, allocations: 1.055 MB / 1.05 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3359, allocations: 1.132 MB / 1.052 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.3361, allocations: 167.9 kB / 1.052 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.3374, allocations: 0.7877 MB / 1.053 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.3379, allocations: 0.6193 MB / 1.053 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008299/0.3388, allocations: 0.9367 MB / 1.054 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.3413, allocations: 2.757 MB / 1.057 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3414, allocations: 4 kB / 1.057 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3414, allocations: 0 / 1.057 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.635e-05/0.3415, allocations: 0 / 1.057 GB, free: 2.812 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005126/0.3466, allocations: 2.135 MB / 1.059 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3466, allocations: 12.92 kB / 1.059 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.3578, allocations: 2.085 MB / 1.061 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.3609, allocations: 1.29 MB / 1.062 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.361, allocations: 94.67 kB / 1.062 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.3614, allocations: 124.1 kB / 1.062 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/0.3672, allocations: 2.671 MB / 1.065 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.3673, allocations: 15.83 kB / 1.065 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.3675, allocations: 55.98 kB / 1.065 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005974/0.3681, allocations: 178.1 kB / 1.065 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007331/0.3754, allocations: 2.795 MB / 1.068 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5307/0.9061, allocations: 10.46 MB / 1.078 GB, free: 55.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006518/0.9127, allocations: 2.521 MB / 1.081 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.9157, allocations: 1.287 MB / 1.082 GB, free: 54.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.9158, allocations: 18.58 kB / 1.082 GB, free: 54.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.9158, allocations: 40.55 kB / 1.082 GB, free: 54.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.425e-06/0.9158, allocations: 0.9375 kB / 1.082 GB, free: 54.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.0464/0.9622, allocations: 13.36 MB / 1.095 GB, free: 51.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9623, allocations: 66.27 kB / 1.095 GB, free: 51.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.9641, allocations: 1.115 MB / 1.096 GB, free: 50.85 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.9642, allocations: 46.45 kB / 1.096 GB, free: 50.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.9647, allocations: 0.7174 MB / 1.097 GB, free: 50.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.9651, allocations: 452.1 kB / 1.097 GB, free: 49.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005866/0.9657, allocations: 260.5 kB / 1.098 GB, free: 49.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9658, allocations: 361.1 kB / 1.098 GB, free: 49.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.9692, allocations: 1.337 MB / 1.099 GB, free: 49.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.9728, allocations: 1.603 MB / 1.101 GB, free: 48.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006662/0.9794, allocations: 2.995 MB / 1.104 GB, free: 47.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.9795, allocations: 7.953 kB / 1.104 GB, free: 47.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0117/0.9912, allocations: 4.442 MB / 1.108 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.9912, allocations: 8.219 kB / 1.108 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9913, allocations: 11.59 kB / 1.108 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.9972, allocations: 1.436 MB / 1.109 GB, free: 45.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.9996, allocations: 438.9 kB / 1.11 GB, free: 45.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/1.023, allocations: 26.68 MB / 1.136 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.026, allocations: 303.7 kB / 1.136 GB, free: 21.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.026, allocations: 61.72 kB / 1.136 GB, free: 21.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009249/1.027, allocations: 439.5 kB / 1.137 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/1.028, allocations: 162.3 kB / 1.137 GB, free: 21.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.039, allocations: 4.452 MB / 1.141 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/1.039, allocations: 17.16 kB / 1.141 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/1.039, allocations: 13.66 kB / 1.141 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/1.039, allocations: 8.078 kB / 1.141 GB, free: 18.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.054, allocations: 6.763 MB / 1.148 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.054, allocations: 3.906 kB / 1.148 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.055, allocations: 375.8 kB / 1.148 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004331/1.06, allocations: 1.307 MB / 1.149 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.06, allocations: 43.36 kB / 1.15 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.082, allocations: 25.5 MB / 1.174 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.082, allocations: 7.969 kB / 1.174 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.092, allocations: 4.202 MB / 1.179 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.094, allocations: 459 kB / 1.179 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/1.094, allocations: 24.11 kB / 1.179 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.096, allocations: 307.5 kB / 1.179 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005064/1.097, allocations: 132.6 kB / 1.179 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.097, allocations: 51.95 kB / 1.179 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001049/1.098, allocations: 0.7526 MB / 1.18 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.18 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002165/1.1, allocations: 0.5664 MB / 1.181 GB, free: 14.49 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002896/1.1, allocations: 144.1 kB / 1.181 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.111, allocations: 5.126 MB / 1.186 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.111, allocations: 0 / 1.186 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006975/1.118, allocations: 3.492 MB / 1.189 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/1.121, allocations: 0.5567 MB / 1.19 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.13, allocations: 3.994 MB / 1.194 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.132, allocations: 1.472 MB / 1.195 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001635/1.133, allocations: 437.5 kB / 1.196 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/1.134, allocations: 111.4 kB / 1.196 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of SimCode: time 9.92e-07/1.134, allocations: 0 / 1.196 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of Templates: time 0.06348/1.197, allocations: 38.95 MB / 1.234 GB, free: 8.324 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches