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.001859/0.001859, allocations: 102.7 kB / 16.45 MB, free: 6.5 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.002152/0.002152, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.639/1.639, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 72 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 176.1 MB / 1.321 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01965/0.4314, allocations: 15 MB / 1.336 GB, free: 3.887 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4486, allocations: 10.5 MB / 1.346 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.4503, allocations: 87.25 kB / 1.346 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.455, allocations: 1.712 MB / 1.348 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.4614, allocations: 1.849 MB / 1.35 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.4638, allocations: 0.7599 MB / 1.35 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00487/0.4687, allocations: 2.75 MB / 1.353 GB, free: 2.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.4709, allocations: 1.13 MB / 1.354 GB, free: 1.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.4742, allocations: 1.722 MB / 1.356 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.4765, allocations: 1.105 MB / 1.357 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006869/0.4772, allocations: 163.9 kB / 1.357 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.4794, allocations: 0.7955 MB / 1.358 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.4806, allocations: 0.6074 MB / 1.359 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.4825, allocations: 0.9483 MB / 1.359 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005188/0.4877, allocations: 2.744 MB / 1.362 GB, free: 8.902 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.4877, allocations: 4 kB / 1.362 GB, free: 8.898 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4877, allocations: 0 / 1.362 GB, free: 8.898 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001448/0.4879, allocations: 0 / 1.362 GB, free: 8.898 MB / 1.061 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.006624/0.4945, allocations: 2.22 MB / 1.364 GB, free: 6.621 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4945, allocations: 15.98 kB / 1.364 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.5072, allocations: 2.117 MB / 1.366 GB, free: 4.484 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.5107, allocations: 1.281 MB / 1.368 GB, free: 3.148 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5108, allocations: 86.69 kB / 1.368 GB, free: 3.062 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006075/0.5114, allocations: 116.1 kB / 1.368 GB, free: 2.949 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007692/0.5191, allocations: 2.638 MB / 1.37 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.907e-05/0.5192, allocations: 7.953 kB / 1.37 GB, free: 172 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/0.5195, allocations: 51.98 kB / 1.37 GB, free: 120 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007482/0.5202, allocations: 194.1 kB / 1.371 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008804/0.529, allocations: 2.803 MB / 1.373 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.5477, allocations: 10.46 MB / 1.384 GB, free: 2.074 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.555, allocations: 2.258 MB / 1.386 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/0.5587, allocations: 1.206 MB / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.5588, allocations: 9 kB / 1.387 GB, free: 14.57 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5588, allocations: 39.56 kB / 1.387 GB, free: 14.53 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.5588, allocations: 0 / 1.387 GB, free: 14.53 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.06729/0.6261, allocations: 16.46 MB / 1.403 GB, free: 13.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6262, allocations: 68.72 kB / 1.403 GB, free: 13.84 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.6283, allocations: 1.168 MB / 1.404 GB, free: 12.66 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.6286, allocations: 53.7 kB / 1.404 GB, free: 12.61 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.6293, allocations: 0.7607 MB / 1.405 GB, free: 11.84 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/0.63, allocations: 0.5422 MB / 1.406 GB, free: 11.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007337/0.6307, allocations: 287.5 kB / 1.406 GB, free: 11 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6309, allocations: 305.1 kB / 1.406 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003936/0.6348, allocations: 1.51 MB / 1.408 GB, free: 9.191 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/0.6391, allocations: 1.78 MB / 1.409 GB, free: 7.316 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008223/0.6473, allocations: 3.365 MB / 1.413 GB, free: 3.855 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.6473, allocations: 4 kB / 1.413 GB, free: 3.852 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01501/0.6623, allocations: 5.218 MB / 1.418 GB, free: 14.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.6624, allocations: 11.94 kB / 1.418 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.6624, allocations: 8.875 kB / 1.418 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007728/0.6701, allocations: 1.883 MB / 1.42 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.6723, allocations: 407.3 kB / 1.42 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/0.7078, allocations: 24.15 MB / 1.444 GB, free: 3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.7108, allocations: 303.5 kB / 1.444 GB, free: 2.703 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.7112, allocations: 68.03 kB / 1.444 GB, free: 2.637 MB / 1.139 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.001182/0.7123, allocations: 465.4 kB / 1.444 GB, free: 2.172 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/0.7129, allocations: 186.9 kB / 1.445 GB, free: 1.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.729, allocations: 5.242 MB / 1.45 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.729, allocations: 16.09 kB / 1.45 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-05/0.7291, allocations: 23.98 kB / 1.45 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.7291, allocations: 11.97 kB / 1.45 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/0.7486, allocations: 7.368 MB / 1.457 GB, free: 5.152 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.7486, allocations: 0 / 1.457 GB, free: 5.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.7504, allocations: 355.4 kB / 1.457 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006923/0.7574, allocations: 1.705 MB / 1.459 GB, free: 3.078 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/0.7576, allocations: 39.97 kB / 1.459 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03561/0.7932, allocations: 23.33 MB / 1.482 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.7933, allocations: 7.938 kB / 1.482 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.8079, allocations: 4.833 MB / 1.487 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.8092, allocations: 0.4919 MB / 1.487 GB, free: 5.152 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005023/0.8097, allocations: 32 kB / 1.487 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/0.8124, allocations: 315.5 kB / 1.487 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.813, allocations: 153 kB / 1.487 GB, free: 4.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.8132, allocations: 47.97 kB / 1.488 GB, free: 4.613 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002095/0.8153, allocations: 0.7899 MB / 1.488 GB, free: 3.824 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.8153, allocations: 0 / 1.488 GB, free: 3.824 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003772/0.8191, allocations: 0.6602 MB / 1.489 GB, free: 3.164 MB / 1.186 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.0005318/0.8196, allocations: 147 kB / 1.489 GB, free: 3.012 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01316/0.8328, allocations: 4.917 MB / 1.494 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.8328, allocations: 4.125 kB / 1.494 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.008385/0.8412, allocations: 3.261 MB / 1.497 GB, free: 10.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.8446, allocations: 0.5559 MB / 1.498 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.8564, allocations: 4.35 MB / 1.502 GB, free: 5.684 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.8587, allocations: 1.572 MB / 1.503 GB, free: 4.074 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00171/0.8604, allocations: 386.4 kB / 1.504 GB, free: 3.691 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.8609, allocations: 107.4 kB / 1.504 GB, free: 3.586 MB / 1.201 GB Notification: Performance of SimCode: time 1.382e-06/0.8609, allocations: 3.938 kB / 1.504 GB, free: 3.582 MB / 1.201 GB Notification: Performance of Templates: time 0.08506/0.946, allocations: 45.77 MB / 1.549 GB, free: 6.277 MB / 1.248 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: 11.18157874699682]