Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8909/0.8909, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.218e-05, allocations: 2.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005034/0.005056, allocations: 5.901 MB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.00808, allocations: 3.106 MB / 0.9605 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.008293, allocations: 51.5 kB / 0.9606 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.009454, allocations: 0.9264 MB / 0.9615 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.01001, allocations: 0.5008 MB / 0.962 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.01057, allocations: 0.5067 MB / 0.9625 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.01129, allocations: 1.135 MB / 0.9636 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005131/0.0118, allocations: 0.5099 MB / 0.9641 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.01227, allocations: 0.6 MB / 0.9647 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.01264, allocations: 434.8 kB / 0.9651 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.0127, allocations: 60 kB / 0.9651 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.01308, allocations: 454.7 kB / 0.9656 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.01326, allocations: 311.1 kB / 0.9659 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.01343, allocations: 271.3 kB / 0.9661 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.01424, allocations: 1.215 MB / 0.9673 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.01425, allocations: 0 / 0.9673 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01425, allocations: 0 / 0.9673 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.01426, allocations: 4 kB / 0.9673 GB, free: 2.977 MB / 0.9167 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.0009372/0.01519, allocations: 0.987 MB / 0.9683 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.01523, allocations: 15.97 kB / 0.9683 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.01596, allocations: 232.1 kB / 0.9685 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.0165, allocations: 0.5275 MB / 0.969 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.01653, allocations: 45.67 kB / 0.9691 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.0166, allocations: 72.3 kB / 0.9691 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.01751, allocations: 1.127 MB / 0.9702 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.01753, allocations: 192 / 0.9702 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.01757, allocations: 36.36 kB / 0.9703 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.01763, allocations: 77.14 kB / 0.9703 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.01828, allocations: 0.6879 MB / 0.971 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.02098, allocations: 4.39 MB / 0.9753 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.02153, allocations: 421.1 kB / 0.9757 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.02227, allocations: 384.6 kB / 0.9761 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.02229, allocations: 4 kB / 0.9761 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.02232, allocations: 38.56 kB / 0.9761 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 1.323e-06/0.02232, allocations: 0 / 0.9761 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42): time 0.002255/0.02457, allocations: 1.734 MB / 0.9778 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.02461, allocations: 55.41 kB / 0.9779 GB, free: 7.77 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.0249, allocations: 445.8 kB / 0.9783 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.02493, allocations: 33.64 kB / 0.9783 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.0251, allocations: 400 kB / 0.9787 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.02519, allocations: 154.7 kB / 0.9788 GB, free: 6.734 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.02529, allocations: 110.2 kB / 0.9789 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.0254, allocations: 358.8 kB / 0.9793 GB, free: 6.262 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.02564, allocations: 249.2 kB / 0.9795 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.02597, allocations: 457 kB / 0.98 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.02657, allocations: 0.7558 MB / 0.9807 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.02657, allocations: 0 / 0.9807 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001046/0.02762, allocations: 1.046 MB / 0.9817 GB, free: 3.559 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02764, allocations: 10.5 kB / 0.9817 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.02765, allocations: 8 kB / 0.9817 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.02819, allocations: 319.9 kB / 0.982 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.02835, allocations: 103.8 kB / 0.9821 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.03238, allocations: 6.957 MB / 0.9889 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.03255, allocations: 39.97 kB / 0.989 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.03257, allocations: 28 kB / 0.989 GB, free: 11.68 MB / 0.948 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.0001968/0.03277, allocations: 251.5 kB / 0.9892 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.03282, allocations: 55.67 kB / 0.9893 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.03384, allocations: 0.8961 MB / 0.9902 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.03385, allocations: 4.141 kB / 0.9902 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.03385, allocations: 7.984 kB / 0.9902 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.03386, allocations: 7.922 kB / 0.9902 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.03558, allocations: 1.506 MB / 0.9917 GB, free: 8.855 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.03559, allocations: 3.984 kB / 0.9917 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.03567, allocations: 47.91 kB / 0.9917 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.03614, allocations: 311.3 kB / 0.992 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.03616, allocations: 7.938 kB / 0.992 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.0401, allocations: 6.966 MB / 0.9988 GB, free: 1.109 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.04011, allocations: 8.031 kB / 0.9988 GB, free: 1.102 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.04102, allocations: 0.9805 MB / 0.9998 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.04115, allocations: 103.5 kB / 0.9999 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.04118, allocations: 11.98 kB / 0.9999 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.0413, allocations: 31.97 kB / 0.9999 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.04137, allocations: 43.86 kB / 1 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.04138, allocations: 12 kB / 1 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001788/0.04156, allocations: 286.9 kB / 1 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.04156, allocations: 0 / 1 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004823/0.04204, allocations: 196 kB / 1 GB, free: 15.4 MB / 0.9636 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.0001015/0.04214, allocations: 111.2 kB / 1.001 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.04316, allocations: 1.152 MB / 1.002 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.04316, allocations: 0 / 1.002 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.04375, allocations: 0.8382 MB / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.0443, allocations: 187.4 kB / 1.003 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.04569, allocations: 1.316 MB / 1.004 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.04595, allocations: 394.9 kB / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.04601, allocations: 44.5 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.04601, allocations: 0 / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.01282/0.05883, allocations: 18.84 MB / 1.023 GB, free: 8.383 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.001873116008937]