Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001349/0.001349, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001507/0.001507, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.883/2.883, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.446e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01889/0.01893, allocations: 13.74 MB / 1.014 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.0367, allocations: 9.822 MB / 1.023 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.03861, allocations: 83.25 kB / 1.023 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.04381, allocations: 1.692 MB / 1.025 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.05014, allocations: 1.893 MB / 1.027 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.05271, allocations: 0.7662 MB / 1.027 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.05753, allocations: 2.842 MB / 1.03 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.05978, allocations: 1.188 MB / 1.031 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.0636, allocations: 2.117 MB / 1.033 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.06551, allocations: 0.927 MB / 1.034 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.06581, allocations: 156 kB / 1.035 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.06742, allocations: 0.7326 MB / 1.035 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006947/0.06812, allocations: 0.6347 MB / 1.036 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009578/0.06907, allocations: 0.639 MB / 1.036 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003877/0.07295, allocations: 2.773 MB / 1.039 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.07296, allocations: 4 kB / 1.039 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.07296, allocations: 0 / 1.039 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.241e-05/0.07301, allocations: 4 kB / 1.039 GB, free: 15.14 MB / 0.9981 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.004303/0.07731, allocations: 2.12 MB / 1.041 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.07736, allocations: 16.03 kB / 1.041 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.0902, allocations: 2.117 MB / 1.043 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.09306, allocations: 1.189 MB / 1.045 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.09315, allocations: 90.67 kB / 1.045 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.09345, allocations: 112.4 kB / 1.045 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007068/0.1005, allocations: 2.889 MB / 1.048 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.1006, allocations: 11.88 kB / 1.048 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.1008, allocations: 47.98 kB / 1.048 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007425/0.1015, allocations: 194.1 kB / 1.048 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00869/0.1102, allocations: 2.787 MB / 1.05 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.1256, allocations: 8.11 MB / 1.058 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007428/0.133, allocations: 2.18 MB / 1.061 GB, free: 8.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/0.1366, allocations: 1.195 MB / 1.062 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.152e-05/0.1366, allocations: 13 kB / 1.062 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.1367, allocations: 51.55 kB / 1.062 GB, free: 7.543 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.1367, allocations: 0 / 1.062 GB, free: 7.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.06715/0.2038, allocations: 15.98 MB / 1.077 GB, free: 7.512 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.2039, allocations: 64.72 kB / 1.077 GB, free: 7.438 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.2057, allocations: 1.042 MB / 1.078 GB, free: 6.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.206, allocations: 49.7 kB / 1.079 GB, free: 6.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/0.2068, allocations: 0.7519 MB / 1.079 GB, free: 5.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/0.2075, allocations: 0.5422 MB / 1.08 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006997/0.2082, allocations: 287.5 kB / 1.08 GB, free: 4.734 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2084, allocations: 301.1 kB / 1.08 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.2124, allocations: 1.503 MB / 1.082 GB, free: 2.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.2165, allocations: 1.788 MB / 1.084 GB, free: 1.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008424/0.2249, allocations: 3.365 MB / 1.087 GB, free: 13.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.225, allocations: 11.88 kB / 1.087 GB, free: 13.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01487/0.2398, allocations: 5.207 MB / 1.092 GB, free: 8.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.2399, allocations: 11.94 kB / 1.092 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.2399, allocations: 4 kB / 1.092 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007476/0.2473, allocations: 1.876 MB / 1.094 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.2495, allocations: 415.2 kB / 1.094 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/0.2818, allocations: 22.84 MB / 1.116 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.2847, allocations: 307.5 kB / 1.117 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.2849, allocations: 72.03 kB / 1.117 GB, free: 13.98 MB / 1.076 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.0009697/0.2859, allocations: 469.3 kB / 1.117 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.2862, allocations: 171 kB / 1.117 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.3013, allocations: 5.244 MB / 1.123 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.3013, allocations: 16 kB / 1.123 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/0.3014, allocations: 20 kB / 1.123 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.3014, allocations: 7.922 kB / 1.123 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/0.3191, allocations: 6.791 MB / 1.129 GB, free: 1.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.3191, allocations: 0 / 1.129 GB, free: 1.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.321, allocations: 363.7 kB / 1.13 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5668/0.8878, allocations: 1.694 MB / 1.131 GB, free: 161.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.888, allocations: 45.05 kB / 1.131 GB, free: 161.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/0.9105, allocations: 22 MB / 1.153 GB, free: 148.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9105, allocations: 2.688 kB / 1.153 GB, free: 148.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.9222, allocations: 4.801 MB / 1.157 GB, free: 147.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/0.9231, allocations: 410.8 kB / 1.158 GB, free: 146.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.9234, allocations: 35.12 kB / 1.158 GB, free: 146.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.9255, allocations: 317.3 kB / 1.158 GB, free: 146.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005284/0.926, allocations: 168.3 kB / 1.158 GB, free: 146.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.9262, allocations: 50.73 kB / 1.158 GB, free: 146.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007549/0.9269, allocations: 0.6857 MB / 1.159 GB, free: 146.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9269, allocations: 2.875 kB / 1.159 GB, free: 146.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00202/0.929, allocations: 0.6536 MB / 1.16 GB, free: 146.5 MB / 1.076 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.0003168/0.9293, allocations: 137.2 kB / 1.16 GB, free: 146.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.9396, allocations: 4.923 MB / 1.165 GB, free: 144.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.9396, allocations: 0 / 1.165 GB, free: 144.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006919/0.9465, allocations: 3.267 MB / 1.168 GB, free: 142.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.9487, allocations: 0.5152 MB / 1.168 GB, free: 142.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.957, allocations: 4.32 MB / 1.173 GB, free: 140.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.958, allocations: 0.9762 MB / 1.174 GB, free: 140.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001199/0.9592, allocations: 368.2 kB / 1.174 GB, free: 140.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.9596, allocations: 101.4 kB / 1.174 GB, free: 140.3 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/0.9596, allocations: 0 / 1.174 GB, free: 140.3 MB / 1.076 GB Notification: Performance of Templates: time 0.07115/1.031, allocations: 46.59 MB / 1.219 GB, free: 127.7 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.106556832790375]