Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 106.7 kB / 15.99 MB, free: 5.895 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.001318/0.001318, allocations: 192 kB / 16.91 MB, free: 5.746 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.393/2.393, allocations: 437 MB / 0.7107 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 68.28 kB / 0.8694 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3029, allocations: 151.6 MB / 1.017 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008445/0.3114, allocations: 6.801 MB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.3164, allocations: 3.052 MB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.317, allocations: 27.81 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.3194, allocations: 0.8926 MB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3205, allocations: 481.8 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3216, allocations: 395.7 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.323, allocations: 1.244 MB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.324, allocations: 0.7366 MB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.3246, allocations: 478.3 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.3252, allocations: 0.5409 MB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.3253, allocations: 64 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.3259, allocations: 387.2 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.3262, allocations: 303.2 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.3266, allocations: 457.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008786/0.3275, allocations: 0.9353 MB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3275, allocations: 4 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3275, allocations: 0 / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3275, allocations: 0 / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001803/0.3293, allocations: 1.172 MB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.3294, allocations: 12.92 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.331, allocations: 239.6 kB / 1.035 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007698/0.3318, allocations: 0.553 MB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.3318, allocations: 49.67 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.332, allocations: 68.27 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.3335, allocations: 1.081 MB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3335, allocations: 7.938 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.3336, allocations: 35.98 kB / 1.037 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.3338, allocations: 85.25 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3349, allocations: 0.7465 MB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.3401, allocations: 5.901 MB / 1.044 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.3411, allocations: 0.5541 MB / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.3415, allocations: 330 kB / 1.044 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3415, allocations: 8.375 kB / 1.044 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3416, allocations: 43 kB / 1.044 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.3416, allocations: 0 / 1.044 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.003738/0.3453, allocations: 1.978 MB / 1.046 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3454, allocations: 63.77 kB / 1.046 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/0.346, allocations: 0.5625 MB / 1.047 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.346, allocations: 37.7 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.3463, allocations: 414.8 kB / 1.047 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3464, allocations: 173.6 kB / 1.048 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3466, allocations: 122.5 kB / 1.048 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3468, allocations: 382.7 kB / 1.048 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.3472, allocations: 273.8 kB / 1.048 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.3477, allocations: 497 kB / 1.049 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.3487, allocations: 0.8094 MB / 1.05 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3487, allocations: 0 / 1.05 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001869/0.3505, allocations: 1.083 MB / 1.051 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.3506, allocations: 8 kB / 1.051 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.3506, allocations: 11.94 kB / 1.051 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/0.3515, allocations: 279.4 kB / 1.051 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.3521, allocations: 127.8 kB / 1.051 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.3587, allocations: 7.146 MB / 1.058 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.3593, allocations: 35.97 kB / 1.058 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.3594, allocations: 28 kB / 1.058 GB, free: 15.83 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003807/0.3598, allocations: 260 kB / 1.058 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3599, allocations: 71.23 kB / 1.058 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3615, allocations: 0.8886 MB / 1.059 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3615, allocations: 8 kB / 1.059 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.3616, allocations: 11.92 kB / 1.059 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3616, allocations: 0 / 1.059 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.3642, allocations: 1.716 MB / 1.061 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3643, allocations: 0 / 1.061 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3645, allocations: 67.83 kB / 1.061 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.3653, allocations: 275.4 kB / 1.061 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.3654, allocations: 12 kB / 1.061 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007049/0.3724, allocations: 7.127 MB / 1.068 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3725, allocations: 3.984 kB / 1.068 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3741, allocations: 0.9874 MB / 1.069 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.3745, allocations: 192.2 kB / 1.069 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3747, allocations: 12 kB / 1.069 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.3751, allocations: 31.84 kB / 1.069 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3752, allocations: 43.94 kB / 1.069 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.3753, allocations: 16 kB / 1.07 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005466/0.3758, allocations: 391.1 kB / 1.07 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3759, allocations: 0 / 1.07 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009504/0.3768, allocations: 220 kB / 1.07 GB, free: 2.781 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.377, allocations: 120.6 kB / 1.07 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.3794, allocations: 1.338 MB / 1.072 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3794, allocations: 4 kB / 1.072 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.3807, allocations: 0.8855 MB / 1.072 GB, free: 336 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3818, allocations: 227.9 kB / 1.073 GB, free: 116 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4746/0.8564, allocations: 1.705 MB / 1.074 GB, free: 59.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.857, allocations: 1.015 MB / 1.075 GB, free: 58.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8572, allocations: 46.33 kB / 1.075 GB, free: 58.75 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/0.8572, allocations: 0.7812 kB / 1.075 GB, free: 58.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.02956/0.8868, allocations: 20.84 MB / 1.096 GB, free: 55.49 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches