Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 100.1 kB / 15.88 MB, free: 12 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.001758/0.001758, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.638/2.638, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 63.91 kB / 0.8692 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7286, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008802/0.7374, allocations: 6.159 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.7428, allocations: 3.204 MB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.7436, allocations: 27.81 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.746, allocations: 0.8681 MB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.7477, allocations: 442 kB / 1.028 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.749, allocations: 459 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.7507, allocations: 1.47 MB / 1.03 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.7518, allocations: 0.632 MB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.7527, allocations: 382.4 kB / 1.031 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008321/0.7535, allocations: 494.1 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.7537, allocations: 44 kB / 1.031 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.7549, allocations: 0.5769 MB / 1.032 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.7554, allocations: 267.3 kB / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.756, allocations: 389.8 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.7572, allocations: 0.9041 MB / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7572, allocations: 0 / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7572, allocations: 0 / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.744e-05/0.7573, allocations: 0 / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002325/0.7596, allocations: 1.064 MB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7597, allocations: 8.031 kB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.7613, allocations: 219.7 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.7623, allocations: 0.5452 MB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.7624, allocations: 53.67 kB / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7625, allocations: 64.34 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.7641, allocations: 1.03 MB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.7642, allocations: 7.938 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.7642, allocations: 27.98 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.21e-05/0.7643, allocations: 77.2 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7655, allocations: 0.6957 MB / 1.037 GB, free: 14.44 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.771, allocations: 5.745 MB / 1.042 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.7719, allocations: 0.6045 MB / 1.043 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.7727, allocations: 420.6 kB / 1.043 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.7728, allocations: 4.688 kB / 1.043 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7728, allocations: 42.5 kB / 1.044 GB, free: 7.152 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.7728, allocations: 0 / 1.044 GB, free: 7.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004394/0.7772, allocations: 2.06 MB / 1.046 GB, free: 4.996 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.7772, allocations: 55.41 kB / 1.046 GB, free: 4.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.7778, allocations: 466.8 kB / 1.046 GB, free: 4.461 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.7778, allocations: 33.7 kB / 1.046 GB, free: 4.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.7781, allocations: 391 kB / 1.046 GB, free: 4.035 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.7782, allocations: 142 kB / 1.047 GB, free: 3.895 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.7784, allocations: 110.2 kB / 1.047 GB, free: 3.781 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7786, allocations: 366.8 kB / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.779, allocations: 245.2 kB / 1.047 GB, free: 3.176 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.7795, allocations: 461.5 kB / 1.048 GB, free: 2.629 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.7804, allocations: 0.7556 MB / 1.048 GB, free: 1.777 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.7804, allocations: 7.938 kB / 1.048 GB, free: 1.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001934/0.7824, allocations: 1.065 MB / 1.049 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.7824, allocations: 10.91 kB / 1.049 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7824, allocations: 8 kB / 1.049 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.7835, allocations: 331.1 kB / 1.05 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.7838, allocations: 95.81 kB / 1.05 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/0.7908, allocations: 6.958 MB / 1.057 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.7913, allocations: 28.02 kB / 1.057 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.7914, allocations: 28 kB / 1.057 GB, free: 8.688 MB / 0.8106 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003687/0.7918, allocations: 247.1 kB / 1.057 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.7919, allocations: 59.34 kB / 1.057 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.7936, allocations: 0.9159 MB / 1.058 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7936, allocations: 4 kB / 1.058 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.7937, allocations: 4 kB / 1.058 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7937, allocations: 7.984 kB / 1.058 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.7965, allocations: 1.712 MB / 1.06 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7965, allocations: 4 kB / 1.06 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.7967, allocations: 39.97 kB / 1.06 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009629/0.7977, allocations: 327.1 kB / 1.06 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.7977, allocations: 12 kB / 1.06 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006633/0.8043, allocations: 6.943 MB / 1.067 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8044, allocations: 0 / 1.067 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.8068, allocations: 1.023 MB / 1.068 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.8072, allocations: 172.4 kB / 1.068 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.8074, allocations: 8 kB / 1.068 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.8078, allocations: 23.97 kB / 1.068 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.8079, allocations: 43.88 kB / 1.068 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.8079, allocations: 19.94 kB / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003895/0.8083, allocations: 310.9 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8083, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008727/0.8092, allocations: 196 kB / 1.069 GB, free: 11.91 MB / 0.8262 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.8094, allocations: 115.2 kB / 1.069 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.8114, allocations: 1.187 MB / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.8114, allocations: 4 kB / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8126, allocations: 0.8696 MB / 1.071 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.8137, allocations: 187.1 kB / 1.071 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.8162, allocations: 1.591 MB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.8169, allocations: 0.9921 MB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.817, allocations: 39.38 kB / 1.073 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.817, allocations: 4 kB / 1.073 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of Templates: time 0.02277/0.8398, allocations: 18.66 MB / 1.092 GB, free: 4.117 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches