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.001751/0.001751, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001986/0.001986, allocations: 210.6 kB / 22.99 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.221/3.221, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 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.002108/0.002108, allocations: 70.2 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02717/0.4033, allocations: 19.52 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.4163, allocations: 6.488 MB / 1.352 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.4184, allocations: 115.1 kB / 1.352 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006731/0.4252, allocations: 2.248 MB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.4293, allocations: 1.24 MB / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.4332, allocations: 1.294 MB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007178/0.4404, allocations: 4.847 MB / 1.361 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005586/0.4459, allocations: 3.131 MB / 1.364 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.45, allocations: 2.166 MB / 1.366 GB, free: 8.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.4548, allocations: 2.336 MB / 1.369 GB, free: 6.293 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.4559, allocations: 428 kB / 1.369 GB, free: 5.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.4585, allocations: 0.944 MB / 1.37 GB, free: 4.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002313/0.4608, allocations: 1.707 MB / 1.372 GB, free: 3.219 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003115/0.4639, allocations: 1.553 MB / 1.373 GB, free: 1.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009114/0.473, allocations: 6.565 MB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.473, allocations: 4 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.943e-06/0.473, allocations: 0 / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002131/0.4732, allocations: 0 / 1.38 GB, free: 11.07 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.009276/0.4825, allocations: 3.466 MB / 1.383 GB, free: 7.555 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4825, allocations: 8.031 kB / 1.383 GB, free: 7.547 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.4862, allocations: 0.6584 MB / 1.384 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.4913, allocations: 1.997 MB / 1.386 GB, free: 4.836 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.4915, allocations: 230.2 kB / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008771/0.4924, allocations: 292.3 kB / 1.386 GB, free: 4.324 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.5031, allocations: 5.241 MB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.613e-05/0.5032, allocations: 7.938 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.5036, allocations: 132 kB / 1.391 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005094/0.5041, allocations: 229.7 kB / 1.392 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008272/0.5124, allocations: 3.742 MB / 1.395 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.5382, allocations: 13.1 MB / 1.408 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.5405, allocations: 1.229 MB / 1.409 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.5422, allocations: 0.9874 MB / 1.41 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5423, allocations: 13 kB / 1.41 GB, free: 11 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.5424, allocations: 43.56 kB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.476e-06/0.5424, allocations: 4 kB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.0272/0.5696, allocations: 8.436 MB / 1.418 GB, free: 2.504 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.5697, allocations: 64.72 kB / 1.419 GB, free: 2.43 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.5716, allocations: 1.063 MB / 1.42 GB, free: 1.355 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.5717, allocations: 49.7 kB / 1.42 GB, free: 1.301 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.5729, allocations: 1.346 MB / 1.421 GB, free: 15.94 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/0.5736, allocations: 0.4918 MB / 1.421 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/0.5743, allocations: 295.4 kB / 1.422 GB, free: 15.15 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5744, allocations: 313.1 kB / 1.422 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.576, allocations: 0.9135 MB / 1.423 GB, free: 13.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.5779, allocations: 1.322 MB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.5817, allocations: 2.426 MB / 1.427 GB, free: 9.84 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.5817, allocations: 4 kB / 1.427 GB, free: 9.836 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007137/0.5889, allocations: 3.426 MB / 1.43 GB, free: 6.391 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.5889, allocations: 8 kB / 1.43 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.5889, allocations: 12 kB / 1.43 GB, free: 6.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/0.5926, allocations: 1.186 MB / 1.431 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.5939, allocations: 255.6 kB / 1.431 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.615, allocations: 13.25 MB / 1.444 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.6165, allocations: 95.95 kB / 1.444 GB, free: 7.285 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.6168, allocations: 67.94 kB / 1.444 GB, free: 7.219 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.002458/0.6193, allocations: 1.115 MB / 1.445 GB, free: 6.094 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.6198, allocations: 163 kB / 1.446 GB, free: 5.934 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006648/0.6264, allocations: 3.129 MB / 1.449 GB, free: 2.785 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.6265, allocations: 12 kB / 1.449 GB, free: 2.773 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.6265, allocations: 12 kB / 1.449 GB, free: 2.762 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.6265, allocations: 7.969 kB / 1.449 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.6393, allocations: 5.468 MB / 1.454 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.6393, allocations: 4 kB / 1.454 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.64, allocations: 156.2 kB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003219/0.6433, allocations: 1.072 MB / 1.455 GB, free: 11.95 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.6434, allocations: 24 kB / 1.455 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/0.6637, allocations: 12.96 MB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/0.6637, allocations: 4 kB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.6701, allocations: 3.115 MB / 1.471 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.6714, allocations: 346.9 kB / 1.471 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/0.6718, allocations: 28 kB / 1.471 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6728, allocations: 79.89 kB / 1.471 GB, free: 11.01 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/0.6733, allocations: 132.6 kB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.6734, allocations: 47.98 kB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001326/0.6747, allocations: 0.702 MB / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6747, allocations: 0 / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002558/0.6773, allocations: 0.6562 MB / 1.473 GB, free: 9.473 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.0003294/0.6776, allocations: 135.1 kB / 1.473 GB, free: 9.328 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005744/0.6833, allocations: 3.013 MB / 1.476 GB, free: 6.281 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.6834, allocations: 7.938 kB / 1.476 GB, free: 6.273 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003539/0.6869, allocations: 1.877 MB / 1.478 GB, free: 4.352 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.6896, allocations: 481.9 kB / 1.478 GB, free: 3.895 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7028, allocations: 5.959 MB / 1.484 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/0.7066, allocations: 1.816 MB / 1.486 GB, free: 12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.7071, allocations: 91.44 kB / 1.486 GB, free: 11.91 MB / 1.186 GB Notification: Performance of SimCode: time 1.372e-06/0.7071, allocations: 4 kB / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of Templates: time 0.117/0.8241, allocations: 80.31 MB / 1.564 GB, free: 11.65 MB / 1.264 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 -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: 18.342463654931635]