Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.002125/0.002125, 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.001476/0.001476, allocations: 211.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.464/1.464, allocations: 230.6 MB / 256.8 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.536/3.536, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.002081/0.002081, allocations: 71.42 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02719/0.3522, allocations: 19.53 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3642, allocations: 6.473 MB / 1.352 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.3658, allocations: 111.2 kB / 1.353 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006004/0.3718, allocations: 2.264 MB / 1.355 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3753, allocations: 1.236 MB / 1.356 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.3787, allocations: 1.286 MB / 1.357 GB, free: 2.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006657/0.3854, allocations: 4.847 MB / 1.362 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005247/0.3906, allocations: 3.178 MB / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.3947, allocations: 2.169 MB / 1.367 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.3996, allocations: 2.469 MB / 1.37 GB, free: 5.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009296/0.4005, allocations: 435.9 kB / 1.37 GB, free: 4.824 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.4029, allocations: 0.9479 MB / 1.371 GB, free: 3.875 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.4049, allocations: 1.711 MB / 1.373 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.4073, allocations: 1.553 MB / 1.374 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007935/0.4152, allocations: 6.561 MB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4152, allocations: 3.984 kB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4152, allocations: 0 / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001334/0.4154, allocations: 0 / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007424/0.4228, allocations: 3.462 MB / 1.384 GB, free: 6.504 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4228, allocations: 8.031 kB / 1.384 GB, free: 6.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.4263, allocations: 0.6584 MB / 1.385 GB, free: 5.836 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004891/0.4312, allocations: 1.997 MB / 1.387 GB, free: 3.785 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.4314, allocations: 226.3 kB / 1.387 GB, free: 3.562 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006535/0.4321, allocations: 292.3 kB / 1.387 GB, free: 3.277 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009261/0.4413, allocations: 5.245 MB / 1.392 GB, free: 13.74 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.886e-05/0.4414, allocations: 7.938 kB / 1.392 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.4417, allocations: 132 kB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004731/0.4422, allocations: 233.7 kB / 1.393 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006573/0.4488, allocations: 3.746 MB / 1.396 GB, free: 9.617 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.4686, allocations: 13.09 MB / 1.409 GB, free: 12.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4706, allocations: 1.235 MB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4721, allocations: 0.9874 MB / 1.411 GB, free: 9.957 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.4721, allocations: 12.94 kB / 1.411 GB, free: 9.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.4722, allocations: 51.56 kB / 1.411 GB, free: 9.887 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.367e-06/0.4722, allocations: 0 / 1.411 GB, free: 9.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.026/0.4982, allocations: 8.424 MB / 1.419 GB, free: 1.457 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4982, allocations: 72.66 kB / 1.419 GB, free: 1.375 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.4998, allocations: 1.059 MB / 1.421 GB, free: 312 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.4999, allocations: 45.7 kB / 1.421 GB, free: 260 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.5011, allocations: 1.35 MB / 1.422 GB, free: 14.89 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.5016, allocations: 0.4918 MB / 1.422 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005183/0.5021, allocations: 295.4 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5023, allocations: 309.1 kB / 1.423 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.5037, allocations: 0.9135 MB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.5054, allocations: 1.322 MB / 1.425 GB, free: 11.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.5088, allocations: 2.433 MB / 1.427 GB, free: 8.785 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.5088, allocations: 4 kB / 1.428 GB, free: 8.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006672/0.5155, allocations: 3.418 MB / 1.431 GB, free: 5.344 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.5155, allocations: 15.98 kB / 1.431 GB, free: 5.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.5155, allocations: 12 kB / 1.431 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.519, allocations: 1.182 MB / 1.432 GB, free: 4.129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.52, allocations: 255.5 kB / 1.432 GB, free: 3.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.5387, allocations: 13.26 MB / 1.445 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5401, allocations: 95.91 kB / 1.445 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.5402, allocations: 63.94 kB / 1.445 GB, free: 6.164 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001944/0.5422, allocations: 1.118 MB / 1.446 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.5424, allocations: 159 kB / 1.447 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005937/0.5484, allocations: 3.129 MB / 1.45 GB, free: 1.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5484, allocations: 16 kB / 1.45 GB, free: 1.715 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.5484, allocations: 12 kB / 1.45 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.5485, allocations: 7.969 kB / 1.45 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5591, allocations: 5.46 MB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5591, allocations: 4 kB / 1.455 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.5597, allocations: 148.3 kB / 1.455 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/0.5628, allocations: 1.068 MB / 1.456 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5629, allocations: 32 kB / 1.456 GB, free: 10.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.5805, allocations: 12.96 MB / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.5805, allocations: 11.92 kB / 1.469 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.5862, allocations: 3.111 MB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.5873, allocations: 350.8 kB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.5875, allocations: 28 kB / 1.472 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.5883, allocations: 79.89 kB / 1.472 GB, free: 9.957 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/0.5887, allocations: 140.6 kB / 1.473 GB, free: 9.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/0.5888, allocations: 36 kB / 1.473 GB, free: 9.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001007/0.5898, allocations: 0.7021 MB / 1.473 GB, free: 9.078 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5898, allocations: 3.938 kB / 1.473 GB, free: 9.074 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002103/0.5919, allocations: 0.6562 MB / 1.474 GB, free: 8.418 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.5921, allocations: 141 kB / 1.474 GB, free: 8.27 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005312/0.5974, allocations: 3.005 MB / 1.477 GB, free: 5.227 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.5974, allocations: 0 / 1.477 GB, free: 5.227 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/0.6008, allocations: 1.889 MB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.603, allocations: 476.2 kB / 1.479 GB, free: 2.844 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6131, allocations: 5.532 MB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/0.6156, allocations: 1.765 MB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001138/0.6167, allocations: 337.3 kB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.617, allocations: 87.42 kB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of SimCode: time 1.694e-06/0.617, allocations: 0 / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of Templates: time 0.06077/0.6777, allocations: 37.13 MB / 1.523 GB, free: 6.496 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.166975056999945]