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.001409/0.001409, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001634/0.001634, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.216/3.216, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.0021/0.0021, allocations: 68.58 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01894/0.406, allocations: 13.93 MB / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4229, allocations: 9.979 MB / 1.35 GB, free: 9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.4247, allocations: 87.19 kB / 1.351 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004985/0.4297, allocations: 1.694 MB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.4359, allocations: 1.847 MB / 1.354 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.4383, allocations: 0.7601 MB / 1.355 GB, free: 4.605 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004698/0.443, allocations: 2.759 MB / 1.357 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.445, allocations: 1.2 MB / 1.359 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.4479, allocations: 1.726 MB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.4498, allocations: 1.117 MB / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.4501, allocations: 156 kB / 1.362 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.4517, allocations: 0.7291 MB / 1.362 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006749/0.4524, allocations: 0.6113 MB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009765/0.4534, allocations: 0.7697 MB / 1.364 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.457, allocations: 2.767 MB / 1.366 GB, free: 8.695 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.457, allocations: 4 kB / 1.366 GB, free: 8.691 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/0.457, allocations: 0 / 1.366 GB, free: 8.691 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.552e-05/0.4571, allocations: 0 / 1.366 GB, free: 8.691 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.004436/0.4615, allocations: 2.147 MB / 1.368 GB, free: 6.504 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4615, allocations: 8.031 kB / 1.368 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4731, allocations: 2.11 MB / 1.37 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.4763, allocations: 1.193 MB / 1.372 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.4764, allocations: 90.62 kB / 1.372 GB, free: 3.051 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.4767, allocations: 116.1 kB / 1.372 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.4831, allocations: 2.893 MB / 1.375 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.4832, allocations: 3.953 kB / 1.375 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.4834, allocations: 55.98 kB / 1.375 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006697/0.484, allocations: 190.1 kB / 1.375 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007598/0.4916, allocations: 2.795 MB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.5074, allocations: 8.111 MB / 1.386 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006467/0.5139, allocations: 2.175 MB / 1.388 GB, free: 2.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.5171, allocations: 1.199 MB / 1.389 GB, free: 1.141 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.5171, allocations: 12.94 kB / 1.389 GB, free: 1.129 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5172, allocations: 43.56 kB / 1.389 GB, free: 1.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.036e-06/0.5172, allocations: 4 kB / 1.389 GB, free: 1.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06186/0.579, allocations: 15.98 MB / 1.404 GB, free: 1.039 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.5791, allocations: 72.66 kB / 1.405 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.5808, allocations: 1.035 MB / 1.406 GB, free: 15.91 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.5811, allocations: 53.7 kB / 1.406 GB, free: 15.85 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/0.5818, allocations: 0.7596 MB / 1.406 GB, free: 15.08 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.5825, allocations: 0.5383 MB / 1.407 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000629/0.5831, allocations: 287.5 kB / 1.407 GB, free: 14.25 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5833, allocations: 305.1 kB / 1.407 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/0.5869, allocations: 1.507 MB / 1.409 GB, free: 12.44 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.591, allocations: 1.784 MB / 1.411 GB, free: 10.56 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007734/0.5987, allocations: 3.365 MB / 1.414 GB, free: 7.102 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5987, allocations: 4 kB / 1.414 GB, free: 7.098 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01441/0.6131, allocations: 5.196 MB / 1.419 GB, free: 1.863 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.6131, allocations: 11.98 kB / 1.419 GB, free: 1.852 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6132, allocations: 4 kB / 1.419 GB, free: 1.848 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007468/0.6206, allocations: 1.877 MB / 1.421 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.6227, allocations: 411.3 kB / 1.421 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03387/0.6565, allocations: 22.86 MB / 1.444 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.6594, allocations: 311.5 kB / 1.444 GB, free: 7.574 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.6596, allocations: 67.97 kB / 1.444 GB, free: 7.508 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.001008/0.6606, allocations: 457.4 kB / 1.444 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.661, allocations: 175 kB / 1.445 GB, free: 6.879 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.6751, allocations: 5.236 MB / 1.45 GB, free: 1.598 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.6751, allocations: 16 kB / 1.45 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/0.6752, allocations: 20 kB / 1.45 GB, free: 1.562 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.6752, allocations: 7.969 kB / 1.45 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.6932, allocations: 6.802 MB / 1.456 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.6932, allocations: 3.984 kB / 1.456 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.6952, allocations: 351.7 kB / 1.457 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008836/0.7041, allocations: 1.704 MB / 1.458 GB, free: 8.574 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003452/0.7044, allocations: 43.91 kB / 1.458 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04143/0.7458, allocations: 22.03 MB / 1.48 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.7458, allocations: 11.88 kB / 1.48 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/0.7646, allocations: 4.809 MB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.7661, allocations: 410.7 kB / 1.485 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.7664, allocations: 31.98 kB / 1.485 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.7685, allocations: 315.5 kB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/0.7691, allocations: 160.9 kB / 1.485 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.7693, allocations: 55.97 kB / 1.486 GB, free: 11.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001075/0.7703, allocations: 0.6879 MB / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7703, allocations: 0 / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002303/0.7726, allocations: 0.6523 MB / 1.487 GB, free: 10.5 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.0003327/0.773, allocations: 143.1 kB / 1.487 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0117/0.7847, allocations: 4.924 MB / 1.492 GB, free: 5.32 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.7847, allocations: 8.125 kB / 1.492 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007547/0.7922, allocations: 3.276 MB / 1.495 GB, free: 1.934 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.7946, allocations: 0.5123 MB / 1.496 GB, free: 1.438 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.804, allocations: 4.337 MB / 1.5 GB, free: 13.05 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.8054, allocations: 0.9877 MB / 1.501 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001467/0.8068, allocations: 373.1 kB / 1.501 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.8072, allocations: 107.3 kB / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of SimCode: time 1.493e-06/0.8072, allocations: 0 / 1.501 GB, free: 11.54 MB / 1.201 GB Notification: Performance of Templates: time 0.07993/0.8871, allocations: 49.5 MB / 1.55 GB, free: 10.73 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 -s cvode -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.598031120011001]