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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001947/0.001947, allocations: 67.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9689, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01642/0.9854, allocations: 15.33 MB / 1.287 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0186/1.004, allocations: 10.72 MB / 1.297 GB, free: 6.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/1.006, allocations: 52.94 kB / 1.297 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/1.011, allocations: 1.753 MB / 1.299 GB, free: 5.293 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006247/1.017, allocations: 1.854 MB / 1.301 GB, free: 4.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/1.02, allocations: 0.7595 MB / 1.302 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005414/1.025, allocations: 2.75 MB / 1.304 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/1.028, allocations: 1.009 MB / 1.305 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/1.031, allocations: 1.525 MB / 1.307 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/1.033, allocations: 1.227 MB / 1.308 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005685/1.034, allocations: 164.9 kB / 1.308 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/1.036, allocations: 0.8005 MB / 1.309 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.037, allocations: 0.6141 MB / 1.31 GB, free: 480 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/1.039, allocations: 0.9558 MB / 1.311 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005847/1.045, allocations: 2.784 MB / 1.313 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.045, allocations: 0 / 1.313 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/1.045, allocations: 4 kB / 1.313 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.89e-05/1.045, allocations: 0 / 1.313 GB, free: 14.89 MB / 1.029 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.006826/1.052, allocations: 2.226 MB / 1.315 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.052, allocations: 10.84 kB / 1.315 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.065, allocations: 2.112 MB / 1.318 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/1.068, allocations: 1.314 MB / 1.319 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.069, allocations: 93.05 kB / 1.319 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/1.069, allocations: 120.4 kB / 1.319 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006648/1.076, allocations: 2.672 MB / 1.322 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/1.076, allocations: 7.797 kB / 1.322 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/1.076, allocations: 55.11 kB / 1.322 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006416/1.077, allocations: 190.5 kB / 1.322 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/1.085, allocations: 2.793 MB / 1.325 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/1.103, allocations: 10.47 MB / 1.335 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006372/1.109, allocations: 2.272 MB / 1.337 GB, free: 2.168 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/1.112, allocations: 1.204 MB / 1.338 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/1.112, allocations: 9.5 kB / 1.338 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.112, allocations: 51.86 kB / 1.338 GB, free: 1.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/1.112, allocations: 3.938 kB / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.05926/1.172, allocations: 16.44 MB / 1.354 GB, free: 9.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.172, allocations: 67.62 kB / 1.354 GB, free: 9.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/1.174, allocations: 1.177 MB / 1.356 GB, free: 8.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.174, allocations: 51.36 kB / 1.356 GB, free: 8.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/1.174, allocations: 0.7566 MB / 1.356 GB, free: 7.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/1.175, allocations: 0.536 MB / 1.357 GB, free: 7.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/1.176, allocations: 292 kB / 1.357 GB, free: 7.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.176, allocations: 309.1 kB / 1.357 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/1.179, allocations: 1.507 MB / 1.359 GB, free: 6.258 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003978/1.183, allocations: 1.777 MB / 1.361 GB, free: 5.164 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007493/1.191, allocations: 3.373 MB / 1.364 GB, free: 3.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.191, allocations: 2.188 kB / 1.364 GB, free: 3.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01375/1.205, allocations: 5.216 MB / 1.369 GB, free: 360 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.205, allocations: 8.25 kB / 1.369 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.205, allocations: 6.312 kB / 1.369 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007115/1.212, allocations: 1.878 MB / 1.371 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.214, allocations: 419.3 kB / 1.371 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03292/1.247, allocations: 24.16 MB / 1.395 GB, free: 4.805 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.25, allocations: 303.5 kB / 1.395 GB, free: 4.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.25, allocations: 67.91 kB / 1.395 GB, free: 4.441 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.001026/1.251, allocations: 472.7 kB / 1.396 GB, free: 3.973 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/1.251, allocations: 190.8 kB / 1.396 GB, free: 3.785 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/1.265, allocations: 5.253 MB / 1.401 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/1.265, allocations: 16 kB / 1.401 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/1.266, allocations: 20 kB / 1.401 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/1.266, allocations: 3.984 kB / 1.401 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.284, allocations: 7.356 MB / 1.408 GB, free: 6.961 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.284, allocations: 4 kB / 1.408 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.286, allocations: 355.7 kB / 1.409 GB, free: 6.609 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006474/1.292, allocations: 1.705 MB / 1.41 GB, free: 4.883 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/1.292, allocations: 43.97 kB / 1.41 GB, free: 4.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03274/1.325, allocations: 23.32 MB / 1.433 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.325, allocations: 7.984 kB / 1.433 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/1.338, allocations: 4.845 MB / 1.438 GB, free: 7.473 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.34, allocations: 0.4919 MB / 1.438 GB, free: 6.961 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.34, allocations: 28 kB / 1.438 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.342, allocations: 315.5 kB / 1.439 GB, free: 6.625 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005896/1.343, allocations: 153 kB / 1.439 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.343, allocations: 56.42 kB / 1.439 GB, free: 6.418 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001236/1.344, allocations: 0.786 MB / 1.44 GB, free: 5.633 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.344, allocations: 4 kB / 1.44 GB, free: 5.629 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002506/1.347, allocations: 0.6523 MB / 1.44 GB, free: 4.977 MB / 1.123 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.0003103/1.347, allocations: 143.1 kB / 1.44 GB, free: 4.828 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.359, allocations: 4.925 MB / 1.445 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.359, allocations: 0 / 1.445 GB, free: 15.79 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00766/1.366, allocations: 3.261 MB / 1.448 GB, free: 12.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.37, allocations: 0.5611 MB / 1.449 GB, free: 11.89 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.38, allocations: 4.358 MB / 1.453 GB, free: 7.477 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/1.381, allocations: 1.572 MB / 1.455 GB, free: 5.867 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001643/1.383, allocations: 386.4 kB / 1.455 GB, free: 5.484 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/1.383, allocations: 103.4 kB / 1.455 GB, free: 5.383 MB / 1.139 GB Notification: Performance of SimCode: time 1.052e-06/1.383, allocations: 0 / 1.455 GB, free: 5.383 MB / 1.139 GB Notification: Performance of Templates: time 0.08077/1.464, allocations: 46.69 MB / 1.501 GB, free: 7.152 MB / 1.186 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: 10.561910349875689]