Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008582/0.0008582, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0008509/0.0008509, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.9307/0.9307, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.762/1.762, allocations: 377.8 MB / 0.6228 GB, free: 8.676 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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.433e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01065/0.01067, allocations: 13.73 MB / 0.9956 GB, free: 3.16 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009951/0.02062, allocations: 9.834 MB / 1.005 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000751/0.02137, allocations: 83.25 kB / 1.005 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.02348, allocations: 1.702 MB / 1.007 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.02658, allocations: 1.904 MB / 1.009 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.02776, allocations: 0.7629 MB / 1.01 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.02989, allocations: 2.824 MB / 1.012 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.03102, allocations: 1.196 MB / 1.013 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.03262, allocations: 2.113 MB / 1.016 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000828/0.03345, allocations: 0.9348 MB / 1.016 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.03359, allocations: 156 kB / 1.017 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.03446, allocations: 0.7288 MB / 1.017 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.03482, allocations: 0.6386 MB / 1.018 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.03526, allocations: 0.6351 MB / 1.019 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.0372, allocations: 2.777 MB / 1.021 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.0372, allocations: 0 / 1.021 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/0.0372, allocations: 0 / 1.021 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.03722, allocations: 0 / 1.021 GB, free: 8.777 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002216/0.03944, allocations: 2.12 MB / 1.023 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.03948, allocations: 8.031 kB / 1.023 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.04506, allocations: 2.125 MB / 1.025 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.04657, allocations: 1.197 MB / 1.027 GB, free: 3.234 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.04674, allocations: 82.69 kB / 1.027 GB, free: 3.152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.04693, allocations: 116.3 kB / 1.027 GB, free: 3.039 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5374/0.5843, allocations: 2.878 MB / 1.03 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.5845, allocations: 11.48 kB / 1.03 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005554/0.585, allocations: 53.41 kB / 1.03 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/0.5855, allocations: 190.6 kB / 1.03 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.5906, allocations: 2.787 MB / 1.033 GB, free: 56.72 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009444/0.6, allocations: 8.11 MB / 1.04 GB, free: 52.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.6042, allocations: 2.176 MB / 1.043 GB, free: 51.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.606, allocations: 1.2 MB / 1.044 GB, free: 51.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.6061, allocations: 8.781 kB / 1.044 GB, free: 51.29 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6061, allocations: 46.27 kB / 1.044 GB, free: 51.25 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=89): time 3.747e-06/0.6061, allocations: 0 / 1.044 GB, free: 51.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=153): time 0.03465/0.6408, allocations: 15.98 MB / 1.059 GB, free: 48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.6408, allocations: 67.91 kB / 1.059 GB, free: 47.94 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6421, allocations: 1.038 MB / 1.061 GB, free: 47.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.6422, allocations: 49.7 kB / 1.061 GB, free: 47.48 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.6426, allocations: 0.7555 MB / 1.061 GB, free: 46.96 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.6429, allocations: 0.5384 MB / 1.062 GB, free: 46.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.6433, allocations: 287.2 kB / 1.062 GB, free: 46.47 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.6433, allocations: 306.8 kB / 1.062 GB, free: 46.17 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.6457, allocations: 1.505 MB / 1.064 GB, free: 45.72 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.6481, allocations: 1.783 MB / 1.066 GB, free: 44.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.6523, allocations: 3.372 MB / 1.069 GB, free: 43.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6524, allocations: 2.625 kB / 1.069 GB, free: 43.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007515/0.6599, allocations: 5.2 MB / 1.074 GB, free: 41.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.6599, allocations: 7.469 kB / 1.074 GB, free: 41.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6599, allocations: 7.875 kB / 1.074 GB, free: 41.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/0.6635, allocations: 1.871 MB / 1.076 GB, free: 40.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.6645, allocations: 419.9 kB / 1.076 GB, free: 40.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.6812, allocations: 22.86 MB / 1.099 GB, free: 22.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.6828, allocations: 308.3 kB / 1.099 GB, free: 22.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.683, allocations: 69.33 kB / 1.099 GB, free: 22.3 MB / 0.9323 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007894/0.6838, allocations: 466.6 kB / 1.099 GB, free: 21.97 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.6839, allocations: 165.9 kB / 1.099 GB, free: 21.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/0.6906, allocations: 5.247 MB / 1.105 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.6906, allocations: 12 kB / 1.105 GB, free: 18.04 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/0.6906, allocations: 24 kB / 1.105 GB, free: 18.01 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.6907, allocations: 7.969 kB / 1.105 GB, free: 18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008102/0.6988, allocations: 6.808 MB / 1.111 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6988, allocations: 4 kB / 1.111 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.6995, allocations: 355.7 kB / 1.112 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/0.7023, allocations: 1.701 MB / 1.113 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.7024, allocations: 47.91 kB / 1.113 GB, free: 9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.7186, allocations: 22.01 MB / 1.135 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.7186, allocations: 3.938 kB / 1.135 GB, free: 2.195 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006868/0.7254, allocations: 4.798 MB / 1.14 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/0.7261, allocations: 410.7 kB / 1.14 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7263, allocations: 36 kB / 1.14 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7273, allocations: 319.4 kB / 1.14 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/0.7277, allocations: 156.9 kB / 1.14 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.7278, allocations: 59.95 kB / 1.14 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009486/0.7287, allocations: 0.6762 MB / 1.141 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.7287, allocations: 0 / 1.141 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001652/0.7304, allocations: 0.6562 MB / 1.142 GB, free: 11.01 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.7306, allocations: 147.6 kB / 1.142 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00616/0.7368, allocations: 4.921 MB / 1.147 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7368, allocations: 4 kB / 1.147 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/0.7406, allocations: 3.262 MB / 1.15 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.742, allocations: 0.5226 MB / 1.15 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.7477, allocations: 4.436 MB / 1.155 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.7488, allocations: 0.9836 MB / 1.156 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.7491, allocations: 128.3 kB / 1.156 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of SimCode: time 1.663e-06/0.7491, allocations: 0 / 1.156 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of Templates: time 0.05922/0.8083, allocations: 85.71 MB / 1.24 GB, free: 6.672 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 12.208952331915498]