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.001772/0.001772, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002173/0.002173, allocations: 209.6 kB / 23 MB, free: 4.934 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.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.344/3.344, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002096/0.002096, allocations: 74.45 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01952/0.4165, allocations: 13.94 MB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.434, allocations: 9.971 MB / 1.35 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.4358, allocations: 91.19 kB / 1.351 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.4407, allocations: 1.688 MB / 1.352 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.4466, allocations: 1.851 MB / 1.354 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.4494, allocations: 0.7601 MB / 1.355 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005282/0.4547, allocations: 2.758 MB / 1.357 GB, free: 1.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.4567, allocations: 1.207 MB / 1.359 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.4595, allocations: 1.726 MB / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.4612, allocations: 1.113 MB / 1.361 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.4614, allocations: 156 kB / 1.362 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.4629, allocations: 0.7252 MB / 1.362 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.4636, allocations: 0.6113 MB / 1.363 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009693/0.4645, allocations: 0.7775 MB / 1.364 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.4681, allocations: 2.759 MB / 1.366 GB, free: 8.711 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4681, allocations: 0 / 1.366 GB, free: 8.711 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4681, allocations: 0 / 1.366 GB, free: 8.711 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.822e-05/0.4682, allocations: 4 kB / 1.366 GB, free: 8.707 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.004329/0.4725, allocations: 2.144 MB / 1.368 GB, free: 6.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4725, allocations: 12.03 kB / 1.368 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4839, allocations: 2.113 MB / 1.37 GB, free: 4.395 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.4869, allocations: 1.189 MB / 1.372 GB, free: 3.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/0.487, allocations: 94.67 kB / 1.372 GB, free: 3.062 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.4873, allocations: 112.1 kB / 1.372 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006247/0.4936, allocations: 2.893 MB / 1.375 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.4936, allocations: 11.89 kB / 1.375 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.4938, allocations: 47.98 kB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006406/0.4944, allocations: 198.1 kB / 1.375 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007596/0.502, allocations: 2.779 MB / 1.378 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.5172, allocations: 8.119 MB / 1.386 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/0.5236, allocations: 2.179 MB / 1.388 GB, free: 2.352 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.5267, allocations: 1.199 MB / 1.389 GB, free: 1.152 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.5268, allocations: 13 kB / 1.389 GB, free: 1.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.5268, allocations: 47.5 kB / 1.389 GB, free: 1.086 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.527e-06/0.5268, allocations: 0 / 1.389 GB, free: 1.086 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06198/0.5888, allocations: 15.98 MB / 1.404 GB, free: 1.055 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.5888, allocations: 72.66 kB / 1.405 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.5905, allocations: 1.031 MB / 1.406 GB, free: 15.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002661/0.5907, allocations: 49.7 kB / 1.406 GB, free: 15.87 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/0.5913, allocations: 0.7673 MB / 1.406 GB, free: 15.1 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.592, allocations: 0.5383 MB / 1.407 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000623/0.5926, allocations: 295.4 kB / 1.407 GB, free: 14.26 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5927, allocations: 309.1 kB / 1.407 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.5963, allocations: 1.507 MB / 1.409 GB, free: 12.45 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/0.6002, allocations: 1.776 MB / 1.411 GB, free: 10.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007791/0.608, allocations: 3.365 MB / 1.414 GB, free: 7.113 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.608, allocations: 4 kB / 1.414 GB, free: 7.109 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01413/0.6221, allocations: 5.196 MB / 1.419 GB, free: 1.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.6222, allocations: 9.406 kB / 1.419 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.6222, allocations: 8 kB / 1.419 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/0.6297, allocations: 1.879 MB / 1.421 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.6317, allocations: 415.3 kB / 1.421 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03229/0.664, allocations: 22.85 MB / 1.444 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.667, allocations: 307.5 kB / 1.444 GB, free: 7.598 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.6672, allocations: 63.97 kB / 1.444 GB, free: 7.535 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.001039/0.6682, allocations: 469.5 kB / 1.444 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.6686, allocations: 167 kB / 1.445 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.6826, allocations: 5.244 MB / 1.45 GB, free: 1.613 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/0.6826, allocations: 8.438 kB / 1.45 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6827, allocations: 3.938 kB / 1.45 GB, free: 1.602 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.6841, allocations: 426.7 kB / 1.45 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.6845, allocations: 24 kB / 1.45 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.6866, allocations: 299.5 kB / 1.45 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/0.687, allocations: 216.8 kB / 1.451 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01607/0.7031, allocations: 5.57 MB / 1.456 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01147/0.7146, allocations: 5.207 MB / 1.461 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003531/0.7181, allocations: 1.614 MB / 1.463 GB, free: 4.203 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001151/0.7193, allocations: 0.6879 MB / 1.463 GB, free: 3.512 MB / 1.154 GB Notification: Performance of Backend: time 6.01e-07/0.7193, allocations: 0 / 1.463 GB, free: 3.512 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01013/0.7294, allocations: 4.005 MB / 1.467 GB, free: 15.39 MB / 1.17 GB Notification: Performance of SimCode: time 0.007568/0.737, allocations: 4.803 MB / 1.472 GB, free: 10.55 MB / 1.17 GB Notification: Performance of Templates: time 0.08629/0.8232, allocations: 54.64 MB / 1.525 GB, free: 4.645 MB / 1.217 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/jenkins1/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: 10.708466591000615]