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.001947/0.001947, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002369/0.002369, allocations: 215.2 kB / 22.99 MB, free: 4.984 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.504/1.504, 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.25/3.25, 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.002105/0.002105, allocations: 66.69 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02619/0.3863, allocations: 19.53 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.3989, allocations: 6.477 MB / 1.352 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.4007, allocations: 111.2 kB / 1.353 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006248/0.4069, allocations: 2.256 MB / 1.355 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.4104, allocations: 1.24 MB / 1.356 GB, free: 3.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.4138, allocations: 1.285 MB / 1.357 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006456/0.4203, allocations: 4.843 MB / 1.362 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.4252, allocations: 3.178 MB / 1.365 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.4287, allocations: 2.17 MB / 1.367 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.4327, allocations: 2.469 MB / 1.37 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007092/0.4334, allocations: 428 kB / 1.37 GB, free: 4.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.4354, allocations: 0.9479 MB / 1.371 GB, free: 3.891 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.4373, allocations: 1.711 MB / 1.373 GB, free: 2.176 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.4394, allocations: 1.553 MB / 1.374 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.4468, allocations: 6.565 MB / 1.381 GB, free: 10.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4468, allocations: 8 kB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4468, allocations: 0 / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000138/0.4469, 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.007364/0.4543, allocations: 3.466 MB / 1.384 GB, free: 6.508 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4543, allocations: 11.97 kB / 1.384 GB, free: 6.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.4578, allocations: 0.6545 MB / 1.385 GB, free: 5.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004628/0.4625, allocations: 1.997 MB / 1.387 GB, free: 3.789 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.4627, allocations: 222.3 kB / 1.387 GB, free: 3.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/0.4632, allocations: 296.3 kB / 1.387 GB, free: 3.281 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00918/0.4724, allocations: 5.242 MB / 1.392 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.467e-05/0.4724, allocations: 15.94 kB / 1.392 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.4728, allocations: 124 kB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004707/0.4732, allocations: 237.7 kB / 1.393 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/0.4797, allocations: 3.742 MB / 1.396 GB, free: 9.625 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.4993, allocations: 13.09 MB / 1.409 GB, free: 12.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.5012, allocations: 1.227 MB / 1.41 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.5027, allocations: 0.9874 MB / 1.411 GB, free: 9.965 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.5028, allocations: 13 kB / 1.411 GB, free: 9.953 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.5029, allocations: 47.56 kB / 1.411 GB, free: 9.898 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.5029, allocations: 8 kB / 1.411 GB, free: 9.891 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02584/0.5287, allocations: 8.428 MB / 1.419 GB, free: 1.457 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.5288, allocations: 68.72 kB / 1.419 GB, free: 1.379 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.5304, allocations: 1.059 MB / 1.421 GB, free: 316 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.5305, allocations: 49.7 kB / 1.421 GB, free: 260 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.5315, allocations: 1.342 MB / 1.422 GB, free: 14.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/0.532, allocations: 0.4996 MB / 1.422 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.5325, allocations: 295.4 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5326, allocations: 309.1 kB / 1.423 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.534, allocations: 0.9096 MB / 1.424 GB, free: 12.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.5358, allocations: 1.326 MB / 1.425 GB, free: 11.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.5392, allocations: 2.418 MB / 1.427 GB, free: 8.801 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5392, allocations: 7.984 kB / 1.427 GB, free: 8.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006578/0.5457, allocations: 3.426 MB / 1.431 GB, free: 5.348 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.5458, allocations: 12 kB / 1.431 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5458, allocations: 12 kB / 1.431 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.5494, allocations: 1.186 MB / 1.432 GB, free: 4.133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.5504, allocations: 255.6 kB / 1.432 GB, free: 3.883 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.5695, allocations: 13.25 MB / 1.445 GB, free: 6.332 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5708, allocations: 91.97 kB / 1.445 GB, free: 6.242 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.571, allocations: 71.94 kB / 1.445 GB, free: 6.172 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.002068/0.573, allocations: 1.114 MB / 1.446 GB, free: 5.047 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.5734, allocations: 159 kB / 1.447 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/0.5795, allocations: 3.137 MB / 1.45 GB, free: 1.734 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.5795, allocations: 12 kB / 1.45 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.5795, allocations: 12 kB / 1.45 GB, free: 1.711 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5795, allocations: 7.969 kB / 1.45 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5902, allocations: 5.464 MB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5902, allocations: 4 kB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.5908, allocations: 152.3 kB / 1.455 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/0.5941, allocations: 1.068 MB / 1.456 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.5942, allocations: 24 kB / 1.456 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.6126, allocations: 12.96 MB / 1.469 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6126, allocations: 4 kB / 1.469 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.6185, allocations: 3.115 MB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.6196, allocations: 350.8 kB / 1.472 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.6198, allocations: 28 kB / 1.472 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.6206, allocations: 83.89 kB / 1.472 GB, free: 9.961 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/0.621, allocations: 132.6 kB / 1.473 GB, free: 9.832 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6211, allocations: 40 kB / 1.473 GB, free: 9.793 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001047/0.6221, allocations: 0.702 MB / 1.473 GB, free: 9.086 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6221, allocations: 0 / 1.473 GB, free: 9.086 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002079/0.6242, allocations: 0.6562 MB / 1.474 GB, free: 8.43 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.0002845/0.6245, allocations: 135.1 kB / 1.474 GB, free: 8.285 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.6297, allocations: 3.016 MB / 1.477 GB, free: 5.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6297, allocations: 0 / 1.477 GB, free: 5.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003278/0.633, allocations: 1.889 MB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.6351, allocations: 480.3 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.01045/0.6455, allocations: 5.518 MB / 1.485 GB, free: 13.24 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002485/0.648, allocations: 1.773 MB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001155/0.6492, allocations: 345.2 kB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.6494, allocations: 83.44 kB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of SimCode: time 1.363e-06/0.6494, allocations: 0 / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of Templates: time 0.06089/0.7103, allocations: 37.14 MB / 1.523 GB, free: 6.5 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 gbode -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.08815165401029]