Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002152/0.002152, allocations: 83.7 kB / 20.24 MB, free: 4.164 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.002598/0.002598, allocations: 157.3 kB / 23.55 MB, free: 0.8555 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 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.945/2.945, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.65e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02992/0.02996, allocations: 14.87 MB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.05221, allocations: 10.45 MB / 0.8111 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.05406, allocations: 91.75 kB / 0.8112 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006864/0.06093, allocations: 1.734 MB / 0.8129 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007639/0.06857, allocations: 1.904 MB / 0.8148 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.07122, allocations: 0.7675 MB / 0.8155 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005595/0.07681, allocations: 2.833 MB / 0.8183 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.07951, allocations: 1.192 MB / 0.8194 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.08355, allocations: 2.117 MB / 0.8215 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.08535, allocations: 0.9739 MB / 0.8224 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.08563, allocations: 159.9 kB / 0.8226 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.08733, allocations: 0.7249 MB / 0.8233 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.08812, allocations: 0.6387 MB / 0.8239 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009972/0.08912, allocations: 0.6468 MB / 0.8246 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.09353, allocations: 2.792 MB / 0.8273 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09354, allocations: 0 / 0.8273 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.09354, allocations: 0 / 0.8273 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.294e-05/0.09358, allocations: 4 kB / 0.8273 GB, free: 2.824 MB / 0.7761 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.004826/0.09841, allocations: 2.373 MB / 0.8296 GB, free: 416 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.09845, allocations: 8.031 kB / 0.8296 GB, free: 408 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.1087, allocations: 1.801 MB / 0.8314 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.112, allocations: 1.238 MB / 0.8326 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.1124, allocations: 90.67 kB / 0.8327 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.1127, allocations: 120.3 kB / 0.8328 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.1176, allocations: 2.095 MB / 0.8348 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.1176, allocations: 15.88 kB / 0.8349 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.1178, allocations: 55.98 kB / 0.8349 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007583/0.1186, allocations: 190.1 kB / 0.8351 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00465/0.1232, allocations: 1.363 MB / 0.8364 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.1392, allocations: 8.901 MB / 0.8451 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.1431, allocations: 1.013 MB / 0.8461 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.1451, allocations: 0.5457 MB / 0.8466 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.1452, allocations: 17 kB / 0.8466 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.1452, allocations: 46.39 kB / 0.8467 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.1452, allocations: 0 / 0.8467 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.0272/0.1724, allocations: 7.06 MB / 0.8536 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.1725, allocations: 64.72 kB / 0.8536 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.1749, allocations: 1.278 MB / 0.8549 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.1751, allocations: 53.7 kB / 0.8549 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008724/0.176, allocations: 0.8605 MB / 0.8558 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/0.1768, allocations: 0.5813 MB / 0.8564 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.1775, allocations: 329.1 kB / 0.8567 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.1777, allocations: 484.7 kB / 0.8571 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.1799, allocations: 0.7143 MB / 0.8578 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.1825, allocations: 1.124 MB / 0.8589 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.1876, allocations: 1.913 MB / 0.8608 GB, free: 15.58 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.1876, allocations: 11.88 kB / 0.8608 GB, free: 15.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01102/0.1986, allocations: 3.383 MB / 0.8641 GB, free: 12.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.1987, allocations: 12.81 kB / 0.8641 GB, free: 12.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.1987, allocations: 12 kB / 0.8641 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009527/0.2082, allocations: 1.836 MB / 0.8659 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.2099, allocations: 303.4 kB / 0.8662 GB, free: 9.953 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03106/0.2409, allocations: 20.63 MB / 0.8864 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.2433, allocations: 195.7 kB / 0.8866 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.2435, allocations: 71.98 kB / 0.8866 GB, free: 4.09 MB / 0.8386 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.0007619/0.2442, allocations: 314.4 kB / 0.8869 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/0.2447, allocations: 211 kB / 0.8871 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.2561, allocations: 3.283 MB / 0.8903 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.2562, allocations: 16 kB / 0.8903 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/0.2562, allocations: 16 kB / 0.8904 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.2562, allocations: 7.969 kB / 0.8904 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.2712, allocations: 4.922 MB / 0.8952 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.2712, allocations: 4 kB / 0.8952 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.2725, allocations: 239.6 kB / 0.8954 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009059/0.2816, allocations: 1.745 MB / 0.8971 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/0.2818, allocations: 39.97 kB / 0.8971 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03019/0.312, allocations: 20.36 MB / 0.917 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.312, allocations: 4 kB / 0.917 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.3223, allocations: 3.173 MB / 0.9201 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.3237, allocations: 386.7 kB / 0.9205 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.324, allocations: 28 kB / 0.9205 GB, free: 80 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.3258, allocations: 207.7 kB / 0.9207 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000604/0.3264, allocations: 164.8 kB / 0.9209 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.3266, allocations: 51.97 kB / 0.9209 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00121/0.3278, allocations: 0.7816 MB / 0.9217 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 0 / 0.9217 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002303/0.3301, allocations: 0.6562 MB / 0.9223 GB, free: 14.22 MB / 0.8855 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.0003438/0.3304, allocations: 139.1 kB / 0.9225 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009933/0.3404, allocations: 3.975 MB / 0.9264 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.3404, allocations: 0 / 0.9264 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006905/0.3473, allocations: 3.093 MB / 0.9294 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.3499, allocations: 0.5271 MB / 0.9299 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00847/0.3584, allocations: 3.472 MB / 0.9333 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.3598, allocations: 0.9446 MB / 0.9342 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001457/0.3612, allocations: 313.2 kB / 0.9345 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/0.3616, allocations: 104.4 kB / 0.9346 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of SimCode: time 1.393e-06/0.3616, allocations: 0 / 0.9346 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of Templates: time 0.08485/0.4465, allocations: 47.5 MB / 0.981 GB, free: 2.469 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.516525386017747]