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.001833/0.001833, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001931/0.001931, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.785 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.353/3.353, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002126/0.002126, allocations: 64.75 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 176.1 MB / 1.326 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.03875/0.4567, allocations: 13.94 MB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03196/0.4886, allocations: 9.964 MB / 1.349 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.4913, allocations: 91.19 kB / 1.349 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.4989, allocations: 1.692 MB / 1.351 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009729/0.5087, allocations: 1.844 MB / 1.352 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.5125, allocations: 0.7636 MB / 1.353 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006989/0.5195, allocations: 2.758 MB / 1.356 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.5232, allocations: 1.184 MB / 1.357 GB, free: 1.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00537/0.5285, allocations: 1.73 MB / 1.359 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.5317, allocations: 1.039 MB / 1.36 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007736/0.5325, allocations: 159.9 kB / 1.36 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.5357, allocations: 0.7214 MB / 1.361 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.5371, allocations: 0.6113 MB / 1.361 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002432/0.5396, allocations: 0.7775 MB / 1.362 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007599/0.5472, allocations: 2.755 MB / 1.365 GB, free: 9.523 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.388e-05/0.5472, allocations: 8 kB / 1.365 GB, free: 9.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.466e-06/0.5472, allocations: 0 / 1.365 GB, free: 9.516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001454/0.5473, allocations: 0 / 1.365 GB, free: 9.516 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.01053/0.5579, allocations: 2.143 MB / 1.367 GB, free: 7.332 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5579, allocations: 8.031 kB / 1.367 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/0.5801, allocations: 2.121 MB / 1.369 GB, free: 5.199 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/0.5857, allocations: 1.182 MB / 1.37 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.5859, allocations: 86.69 kB / 1.37 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008509/0.5867, allocations: 124.1 kB / 1.37 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.5988, allocations: 2.885 MB / 1.373 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-05/0.5989, allocations: 7.953 kB / 1.373 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004489/0.5993, allocations: 55.97 kB / 1.373 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/0.6006, allocations: 194.1 kB / 1.373 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.6156, allocations: 2.795 MB / 1.376 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.6339, allocations: 8.111 MB / 1.384 GB, free: 5.348 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006937/0.6408, allocations: 2.171 MB / 1.386 GB, free: 3.168 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.6443, allocations: 1.204 MB / 1.387 GB, free: 1.965 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/0.6444, allocations: 13 kB / 1.387 GB, free: 1.953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6444, allocations: 39.56 kB / 1.387 GB, free: 1.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 8.776e-06/0.6445, allocations: 3.984 kB / 1.387 GB, free: 1.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06986/0.7143, allocations: 15.99 MB / 1.403 GB, free: 1.859 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.7144, allocations: 76.7 kB / 1.403 GB, free: 1.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.7171, allocations: 1.031 MB / 1.404 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/0.7174, allocations: 53.7 kB / 1.404 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/0.7184, allocations: 0.752 MB / 1.405 GB, free: 15.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.7195, allocations: 0.5383 MB / 1.405 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.7207, allocations: 291.4 kB / 1.406 GB, free: 15.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0003415/0.7211, allocations: 309 kB / 1.406 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005389/0.7265, allocations: 1.51 MB / 1.407 GB, free: 13.25 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/0.7321, allocations: 1.78 MB / 1.409 GB, free: 11.38 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.7439, allocations: 3.362 MB / 1.412 GB, free: 7.922 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.7439, allocations: 4 kB / 1.412 GB, free: 7.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02114/0.765, allocations: 5.195 MB / 1.417 GB, free: 2.684 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.7651, allocations: 8 kB / 1.417 GB, free: 2.676 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.7651, allocations: 8 kB / 1.417 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007297/0.7724, allocations: 1.874 MB / 1.419 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.7746, allocations: 419.3 kB / 1.42 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03414/0.8087, allocations: 22.86 MB / 1.442 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.8116, allocations: 307.5 kB / 1.442 GB, free: 8.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/0.812, allocations: 67.95 kB / 1.442 GB, free: 8.336 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.001229/0.8132, allocations: 465.5 kB / 1.443 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/0.8137, allocations: 167 kB / 1.443 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/0.8289, allocations: 5.24 MB / 1.448 GB, free: 2.422 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.8289, allocations: 16.47 kB / 1.448 GB, free: 2.406 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.451e-05/0.829, allocations: 20 kB / 1.448 GB, free: 2.387 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.829, allocations: 7.969 kB / 1.448 GB, free: 2.379 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.848, allocations: 6.802 MB / 1.455 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.8481, allocations: 0 / 1.455 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/0.8499, allocations: 355.3 kB / 1.455 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/0.8564, allocations: 1.696 MB / 1.457 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/0.8567, allocations: 43.91 kB / 1.457 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03324/0.8899, allocations: 22.03 MB / 1.478 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.8899, allocations: 11.88 kB / 1.478 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.9038, allocations: 4.813 MB / 1.483 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.9053, allocations: 410.7 kB / 1.483 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.9057, allocations: 24 kB / 1.483 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/0.9082, allocations: 315.5 kB / 1.484 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006053/0.9088, allocations: 168.8 kB / 1.484 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.909, allocations: 51.97 kB / 1.484 GB, free: 12.67 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001211/0.9102, allocations: 0.6918 MB / 1.485 GB, free: 11.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9102, allocations: 0 / 1.485 GB, free: 11.97 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002489/0.9127, allocations: 0.6523 MB / 1.485 GB, free: 11.32 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.0004482/0.9131, allocations: 151 kB / 1.485 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01267/0.9258, allocations: 4.925 MB / 1.49 GB, free: 6.133 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.9258, allocations: 0 / 1.49 GB, free: 6.133 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007866/0.9337, allocations: 3.269 MB / 1.493 GB, free: 2.762 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.9366, allocations: 0.5137 MB / 1.494 GB, free: 2.266 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.9477, allocations: 4.35 MB / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.9495, allocations: 0.9838 MB / 1.499 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001663/0.9511, allocations: 365.2 kB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.9516, allocations: 107.4 kB / 1.5 GB, free: 12.37 MB / 1.201 GB Notification: Performance of SimCode: time 1.553e-06/0.9516, allocations: 0 / 1.5 GB, free: 12.37 MB / 1.201 GB Notification: Performance of Templates: time 0.0833/1.035, allocations: 48.95 MB / 1.547 GB, free: 12.11 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.314700106158853]