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.001466/0.001466, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001769/0.001769, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.818/2.818, allocations: 359 MB / 0.6048 GB, free: 10.94 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 2.033e-06/2.033e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.422e-05, allocations: 5.688 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02118/0.02121, allocations: 13.74 MB / 0.7998 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.03989, allocations: 9.827 MB / 0.8094 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.04143, allocations: 87.19 kB / 0.8095 GB, free: 5.145 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005432/0.04686, allocations: 1.689 MB / 0.8111 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.05284, allocations: 1.903 MB / 0.813 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.05508, allocations: 0.7597 MB / 0.8137 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.05978, allocations: 2.841 MB / 0.8165 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.06211, allocations: 1.199 MB / 0.8177 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.06627, allocations: 2.098 MB / 0.8197 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.06827, allocations: 0.9387 MB / 0.8206 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.06872, allocations: 160 kB / 0.8208 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.07055, allocations: 0.7249 MB / 0.8215 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0009215/0.07147, allocations: 0.6425 MB / 0.8221 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.07281, allocations: 0.6468 MB / 0.8228 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.07725, allocations: 2.788 MB / 0.8255 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.07725, allocations: 0 / 0.8255 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.07725, allocations: 0 / 0.8255 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.676e-05/0.07734, allocations: 0 / 0.8255 GB, free: 4.707 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.005215/0.08255, allocations: 2.124 MB / 0.8276 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.08259, allocations: 8.031 kB / 0.8276 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.0956, allocations: 2.339 MB / 0.8298 GB, free: 196 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.09869, allocations: 1.259 MB / 0.8311 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.0988, allocations: 86.69 kB / 0.8312 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/0.09925, allocations: 120.4 kB / 0.8313 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.1067, allocations: 2.893 MB / 0.8341 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.1067, allocations: 15.86 kB / 0.8341 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.1069, allocations: 51.98 kB / 0.8342 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000756/0.1077, allocations: 190.1 kB / 0.8343 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008605/0.1163, allocations: 2.799 MB / 0.8371 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.1336, allocations: 8.247 MB / 0.8451 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007733/0.1413, allocations: 2.191 MB / 0.8473 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.1448, allocations: 1.21 MB / 0.8485 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.1449, allocations: 17 kB / 0.8485 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.1449, allocations: 47.56 kB / 0.8485 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.305e-06/0.1449, allocations: 0 / 0.8485 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.06764/0.2126, allocations: 16.39 MB / 0.8645 GB, free: 12.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.2126, allocations: 68.72 kB / 0.8646 GB, free: 12.11 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.2144, allocations: 1.042 MB / 0.8656 GB, free: 11.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.2147, allocations: 49.7 kB / 0.8656 GB, free: 11 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/0.2154, allocations: 0.7518 MB / 0.8664 GB, free: 10.24 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/0.2161, allocations: 0.5383 MB / 0.8669 GB, free: 9.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/0.2168, allocations: 287.5 kB / 0.8672 GB, free: 9.414 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002802/0.2171, allocations: 305.1 kB / 0.8675 GB, free: 9.113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004086/0.2212, allocations: 1.53 MB / 0.869 GB, free: 7.582 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004375/0.2256, allocations: 1.799 MB / 0.8707 GB, free: 5.688 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008667/0.2342, allocations: 3.412 MB / 0.8741 GB, free: 2.176 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.2342, allocations: 7.938 kB / 0.8741 GB, free: 2.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02121/0.2555, allocations: 5.383 MB / 0.8793 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.2555, allocations: 15.88 kB / 0.8793 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.2555, allocations: 8.875 kB / 0.8793 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01841/0.2739, allocations: 2.444 MB / 0.8817 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.2779, allocations: 419.2 kB / 0.8821 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06818/0.3461, allocations: 23.31 MB / 0.9049 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/0.3514, allocations: 315.6 kB / 0.9052 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/0.352, allocations: 67.95 kB / 0.9053 GB, free: 1.352 MB / 0.8542 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.001966/0.3539, allocations: 465.4 kB / 0.9057 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/0.3551, allocations: 219 kB / 0.9059 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0325/0.3875, allocations: 5.369 MB / 0.9112 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-05/0.3876, allocations: 16 kB / 0.9112 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.513e-05/0.3877, allocations: 20 kB / 0.9112 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/0.3877, allocations: 3.984 kB / 0.9112 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03673/0.4245, allocations: 7.017 MB / 0.918 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.4245, allocations: 4 kB / 0.9181 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003427/0.4279, allocations: 351.7 kB / 0.9184 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02005/0.448, allocations: 2.298 MB / 0.9206 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004068/0.4484, allocations: 43.95 kB / 0.9207 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06118/0.5096, allocations: 22.52 MB / 0.9427 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.5096, allocations: 4 kB / 0.9427 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/0.5354, allocations: 5.028 MB / 0.9476 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.5373, allocations: 418.7 kB / 0.948 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005981/0.5379, allocations: 31.94 kB / 0.948 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/0.5418, allocations: 319.5 kB / 0.9483 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009117/0.5427, allocations: 156.9 kB / 0.9485 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/0.543, allocations: 55.97 kB / 0.9485 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001906/0.5449, allocations: 0.684 MB / 0.9492 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5449, allocations: 0 / 0.9492 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003919/0.5489, allocations: 0.6758 MB / 0.9499 GB, free: 2.621 MB / 0.9011 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.00053/0.5494, allocations: 139.2 kB / 0.95 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02203/0.5714, allocations: 4.96 MB / 0.9548 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.5714, allocations: 8.125 kB / 0.9548 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/0.5859, allocations: 3.299 MB / 0.9581 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.5893, allocations: 0.5359 MB / 0.9586 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.6001, allocations: 4.36 MB / 0.9628 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.6016, allocations: 0.9838 MB / 0.9638 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001599/0.6032, allocations: 373.2 kB / 0.9642 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.6036, allocations: 100.4 kB / 0.9642 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of SimCode: time 1.813e-06/0.6036, allocations: 0 / 0.9642 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of Templates: time 0.08354/0.6872, allocations: 47.93 MB / 1.011 GB, free: 4.344 MB / 0.9636 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] 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.681155145983212]