Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009039/0.0009039, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008669/0.0008669, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9345/0.9345, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.398e-05, allocations: 10.16 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005132/0.005156, allocations: 5.904 MB / 0.988 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.008216, allocations: 3.11 MB / 0.991 GB, free: 9.012 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.008462, allocations: 39.62 kB / 0.991 GB, free: 8.973 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.009693, allocations: 0.9327 MB / 0.9919 GB, free: 8.039 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.01031, allocations: 0.4931 MB / 0.9924 GB, free: 7.543 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.01089, allocations: 0.5101 MB / 0.9929 GB, free: 7.031 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.01174, allocations: 1.127 MB / 0.994 GB, free: 5.902 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005986/0.01234, allocations: 0.5099 MB / 0.9945 GB, free: 5.387 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.01286, allocations: 0.6117 MB / 0.9951 GB, free: 4.773 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.01325, allocations: 434.7 kB / 0.9955 GB, free: 4.348 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.01331, allocations: 56 kB / 0.9956 GB, free: 4.293 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.01369, allocations: 454.7 kB / 0.996 GB, free: 3.848 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.01388, allocations: 307.1 kB / 0.9963 GB, free: 3.547 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.01405, allocations: 275.3 kB / 0.9966 GB, free: 3.277 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008383/0.01489, allocations: 1.211 MB / 0.9978 GB, free: 2.062 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01489, allocations: 0 / 0.9978 GB, free: 2.062 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.0149, allocations: 0 / 0.9978 GB, free: 2.062 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.0149, allocations: 0 / 0.9978 GB, free: 2.062 MB / 0.948 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.001053/0.01596, allocations: 1.001 MB / 0.9987 GB, free: 1.031 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.016, allocations: 8.031 kB / 0.9987 GB, free: 1.023 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.01678, allocations: 232.2 kB / 0.999 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.01737, allocations: 0.5236 MB / 0.9995 GB, free: 248 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.0174, allocations: 53.67 kB / 0.9995 GB, free: 196 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.01747, allocations: 68.31 kB / 0.9996 GB, free: 128 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.01842, allocations: 1.127 MB / 1.001 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.01844, allocations: 8.125 kB / 1.001 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.01858, allocations: 28.36 kB / 1.001 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.01864, allocations: 73.2 kB / 1.001 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.01932, allocations: 0.6918 MB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.02204, allocations: 4.401 MB / 1.006 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.02255, allocations: 397.2 kB / 1.006 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.02302, allocations: 392.5 kB / 1.007 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.02305, allocations: 4 kB / 1.007 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.02307, allocations: 39.25 kB / 1.007 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=41): time 1.993e-06/0.02307, allocations: 0 / 1.007 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42): time 0.002455/0.02553, allocations: 1.729 MB / 1.008 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.02556, allocations: 59.41 kB / 1.008 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.02585, allocations: 445.7 kB / 1.009 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.02588, allocations: 33.7 kB / 1.009 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.02606, allocations: 392 kB / 1.009 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.254e-05/0.02614, allocations: 158.6 kB / 1.009 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.02624, allocations: 114.2 kB / 1.009 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.02635, allocations: 362.8 kB / 1.01 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.02657, allocations: 245.2 kB / 1.01 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.0269, allocations: 453 kB / 1.01 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.02751, allocations: 0.7602 MB / 1.011 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02752, allocations: 4 kB / 1.011 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001068/0.02858, allocations: 1.042 MB / 1.012 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.02861, allocations: 18.89 kB / 1.012 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02861, allocations: 4 kB / 1.012 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/0.02919, allocations: 327.9 kB / 1.013 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.02935, allocations: 99.77 kB / 1.013 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/0.03376, allocations: 6.966 MB / 1.019 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.03393, allocations: 32.02 kB / 1.019 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.03396, allocations: 24 kB / 1.019 GB, free: 10.76 MB / 0.9792 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.0002041/0.03416, allocations: 249.5 kB / 1.02 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.03421, allocations: 55.67 kB / 1.02 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009576/0.03517, allocations: 0.8882 MB / 1.021 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.03517, allocations: 8.266 kB / 1.021 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.03518, allocations: 4 kB / 1.021 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03518, allocations: 3.938 kB / 1.021 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.03675, allocations: 1.526 MB / 1.022 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.03675, allocations: 4 kB / 1.022 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.03684, allocations: 35.97 kB / 1.022 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.03732, allocations: 315.3 kB / 1.022 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.03734, allocations: 8 kB / 1.022 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.0414, allocations: 6.971 MB / 1.029 GB, free: 188 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.0414, allocations: 4.172 kB / 1.029 GB, free: 184 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.04235, allocations: 0.9761 MB / 1.03 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.04247, allocations: 107.5 kB / 1.03 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.0425, allocations: 11.98 kB / 1.03 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.04262, allocations: 19.98 kB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.04269, allocations: 43.92 kB / 1.03 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.04271, allocations: 12.28 kB / 1.03 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001937/0.0429, allocations: 290.9 kB / 1.031 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.0429, allocations: 0 / 1.031 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000506/0.04341, allocations: 195.9 kB / 1.031 GB, free: 14.49 MB / 0.9948 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.0001288/0.04354, allocations: 115.7 kB / 1.031 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.04465, allocations: 1.168 MB / 1.032 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04465, allocations: 0 / 1.032 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.04526, allocations: 0.8424 MB / 1.033 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.04583, allocations: 190.7 kB / 1.033 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.04718, allocations: 1.3 MB / 1.034 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.04745, allocations: 398.9 kB / 1.035 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.04752, allocations: 48.48 kB / 1.035 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/0.04752, allocations: 0 / 1.035 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of Templates: time 0.4677/0.5152, allocations: 18.83 MB / 1.053 GB, free: 100.1 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.737373169511557]