Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.009413/0.009413, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002235/0.002235, allocations: 195.8 kB / 16.79 MB, free: 5.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.522/1.522, 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 9.1.2-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5869, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006211/0.5931, allocations: 6.146 MB / 0.9556 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.5973, allocations: 3.206 MB / 0.9587 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.5979, allocations: 26.62 kB / 0.9588 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.5999, allocations: 0.8701 MB / 0.9596 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.6012, allocations: 444.1 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.6023, allocations: 461.7 kB / 0.9605 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.6039, allocations: 1.48 MB / 0.9619 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.6048, allocations: 0.6174 MB / 0.9625 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.6055, allocations: 389.2 kB / 0.9629 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005819/0.6061, allocations: 486.4 kB / 0.9634 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.024e-05/0.6062, allocations: 43.5 kB / 0.9634 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.6074, allocations: 0.5812 MB / 0.964 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.6077, allocations: 269.6 kB / 0.9642 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.6081, allocations: 391.7 kB / 0.9646 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.6091, allocations: 0.9046 MB / 0.9655 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6091, allocations: 0 / 0.9655 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6091, allocations: 4 kB / 0.9655 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.6092, allocations: 0 / 0.9655 GB, free: 13.57 MB / 0.7325 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.001762/0.6109, allocations: 1.058 MB / 0.9665 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.611, allocations: 9.75 kB / 0.9665 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.6125, allocations: 221.2 kB / 0.9667 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.6134, allocations: 0.5392 MB / 0.9673 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.6134, allocations: 50.94 kB / 0.9673 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.6136, allocations: 68.19 kB / 0.9674 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.6151, allocations: 1.026 MB / 0.9684 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.6151, allocations: 12.09 kB / 0.9684 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.6152, allocations: 36.03 kB / 0.9684 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/0.6153, allocations: 66.88 kB / 0.9685 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6164, allocations: 0.6906 MB / 0.9692 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.6215, allocations: 5.756 MB / 0.9748 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/0.6224, allocations: 0.5957 MB / 0.9754 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.6232, allocations: 427 kB / 0.9758 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.6233, allocations: 3.969 kB / 0.9758 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6233, allocations: 44.44 kB / 0.9758 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.364e-06/0.6233, allocations: 0 / 0.9758 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.00452/0.6278, allocations: 2.053 MB / 0.9778 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.6279, allocations: 59.56 kB / 0.9779 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.6284, allocations: 467.1 kB / 0.9783 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.6285, allocations: 30.8 kB / 0.9784 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.6287, allocations: 385.6 kB / 0.9787 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.6288, allocations: 154 kB / 0.9789 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.629, allocations: 108.9 kB / 0.979 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6292, allocations: 363.7 kB / 0.9793 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.6295, allocations: 247.3 kB / 0.9796 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.6301, allocations: 460.4 kB / 0.98 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.631, allocations: 0.7522 MB / 0.9807 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.631, allocations: 6.281 kB / 0.9807 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001946/0.633, allocations: 1.072 MB / 0.9818 GB, free: 96 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.633, allocations: 8 kB / 0.9818 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.633, allocations: 8 kB / 0.9818 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.6342, allocations: 327.3 kB / 0.9821 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.6345, allocations: 95.83 kB / 0.9822 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/0.6413, allocations: 6.951 MB / 0.989 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.6419, allocations: 32.02 kB / 0.989 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.6419, allocations: 28 kB / 0.989 GB, free: 8.105 MB / 0.7481 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.0003972/0.6423, allocations: 247 kB / 0.9893 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.6424, allocations: 63.25 kB / 0.9893 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.6443, allocations: 0.9117 MB / 0.9902 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6443, allocations: 4 kB / 0.9902 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6443, allocations: 4 kB / 0.9902 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6443, allocations: 4 kB / 0.9902 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.6473, allocations: 1.704 MB / 0.9919 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.6473, allocations: 4 kB / 0.9919 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.6475, allocations: 44.16 kB / 0.992 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/0.6484, allocations: 330.8 kB / 0.9923 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.6485, allocations: 8 kB / 0.9923 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/0.6553, allocations: 6.947 MB / 0.9991 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6553, allocations: 0 / 0.9991 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6571, allocations: 1.015 MB / 1 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.6574, allocations: 176.4 kB / 1 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.6575, allocations: 8 kB / 1 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.6578, allocations: 27.97 kB / 1 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6579, allocations: 39.89 kB / 1 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.658, allocations: 15.94 kB / 1 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003527/0.6583, allocations: 314.9 kB / 1.001 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6583, allocations: 0 / 1.001 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008212/0.6591, allocations: 196 kB / 1.001 GB, free: 11.34 MB / 0.7637 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.0001489/0.6593, allocations: 115.2 kB / 1.001 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.6611, allocations: 1.195 MB / 1.002 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6612, allocations: 7.938 kB / 1.002 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6624, allocations: 0.8541 MB / 1.003 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.6634, allocations: 187.7 kB / 1.003 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.6655, allocations: 1.593 MB / 1.005 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.6661, allocations: 0.9921 MB / 1.006 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.6662, allocations: 39.44 kB / 1.006 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of SimCode: time 1.044e-05/0.6662, allocations: 0 / 1.006 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of Templates: time 0.02096/0.6872, allocations: 18.66 MB / 1.024 GB, free: 3.543 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches