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.00148/0.00148, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001646/0.001646, allocations: 161.7 kB / 23.54 MB, free: 0.8984 MB / 18.57 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.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.836/2.836, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.718e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02919/0.02923, allocations: 19.14 MB / 0.8295 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.04299, allocations: 6.399 MB / 0.8358 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.04522, allocations: 111.2 kB / 0.8359 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006759/0.05198, allocations: 2.259 MB / 0.8381 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.05599, allocations: 1.274 MB / 0.8393 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.05966, allocations: 1.298 MB / 0.8406 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007047/0.06671, allocations: 4.939 MB / 0.8454 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.07222, allocations: 3.167 MB / 0.8485 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/0.07785, allocations: 2.999 MB / 0.8514 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.0823, allocations: 2.182 MB / 0.8536 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.08337, allocations: 436 kB / 0.854 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.08576, allocations: 0.9631 MB / 0.8549 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002327/0.08809, allocations: 1.789 MB / 0.8567 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.09065, allocations: 1.353 MB / 0.858 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00932/0.09997, allocations: 6.693 MB / 0.8645 GB, free: 10.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.09998, allocations: 0 / 0.8645 GB, free: 10.92 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.09998, allocations: 4 kB / 0.8645 GB, free: 10.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001372/0.1001, allocations: 0 / 0.8645 GB, free: 10.91 MB / 0.823 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.007966/0.1081, allocations: 3.45 MB / 0.8679 GB, free: 7.414 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1081, allocations: 8.031 kB / 0.8679 GB, free: 7.406 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.1127, allocations: 1.068 MB / 0.869 GB, free: 6.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.1174, allocations: 2.137 MB / 0.871 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.1176, allocations: 222.3 kB / 0.8713 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000673/0.1183, allocations: 296.3 kB / 0.8715 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.129, allocations: 5.25 MB / 0.8767 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/0.1291, allocations: 12.06 kB / 0.8767 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.1294, allocations: 131.9 kB / 0.8768 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004986/0.1299, allocations: 229.7 kB / 0.877 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.1372, allocations: 3.746 MB / 0.8807 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.158, allocations: 13.23 MB / 0.8936 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.1601, allocations: 1.219 MB / 0.8948 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.1617, allocations: 0.9796 MB / 0.8957 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.1618, allocations: 21 kB / 0.8958 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.1618, allocations: 43.56 kB / 0.8958 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.1618, allocations: 0 / 0.8958 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.0268/0.1886, allocations: 8.467 MB / 0.9041 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.1887, allocations: 64.72 kB / 0.9041 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.1907, allocations: 1.079 MB / 0.9052 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.1908, allocations: 45.7 kB / 0.9052 GB, free: 464 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.1921, allocations: 1.346 MB / 0.9065 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/0.1927, allocations: 0.4919 MB / 0.907 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.1932, allocations: 299.4 kB / 0.9073 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1934, allocations: 301.1 kB / 0.9076 GB, free: 14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.1949, allocations: 0.894 MB / 0.9085 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.197, allocations: 1.372 MB / 0.9098 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.2008, allocations: 2.475 MB / 0.9122 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.2008, allocations: 8 kB / 0.9122 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007329/0.2081, allocations: 3.496 MB / 0.9157 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.2081, allocations: 15.94 kB / 0.9157 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.2082, allocations: 24.12 kB / 0.9157 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/0.2125, allocations: 1.319 MB / 0.917 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.2136, allocations: 271.5 kB / 0.9172 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.2348, allocations: 13.28 MB / 0.9302 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.2362, allocations: 91.91 kB / 0.9303 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.2364, allocations: 68 kB / 0.9304 GB, free: 5.961 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (136): * Single equations (assignments): 133 * 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,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002226/0.2387, allocations: 1.126 MB / 0.9315 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.2392, allocations: 207 kB / 0.9317 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006851/0.246, allocations: 3.118 MB / 0.9347 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.246, allocations: 16 kB / 0.9347 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/0.2461, allocations: 12 kB / 0.9347 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.2461, allocations: 7.969 kB / 0.9347 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.2577, allocations: 5.441 MB / 0.9401 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.2577, allocations: 11.94 kB / 0.9401 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/0.2584, allocations: 147.8 kB / 0.9402 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/0.2624, allocations: 1.202 MB / 0.9414 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.2625, allocations: 28 kB / 0.9414 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.2831, allocations: 12.98 MB / 0.9541 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.2831, allocations: 8.062 kB / 0.9541 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.2896, allocations: 3.139 MB / 0.9572 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.2906, allocations: 350.9 kB / 0.9575 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.2909, allocations: 28 kB / 0.9575 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.2918, allocations: 83.89 kB / 0.9576 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/0.2922, allocations: 128.6 kB / 0.9577 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.2923, allocations: 36 kB / 0.9578 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001182/0.2935, allocations: 0.7024 MB / 0.9584 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2935, allocations: 4 kB / 0.9584 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002247/0.2957, allocations: 0.6641 MB / 0.9591 GB, free: 8 MB / 0.9167 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.0002699/0.296, allocations: 135.1 kB / 0.9592 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005671/0.3017, allocations: 3.012 MB / 0.9622 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.3017, allocations: 4 kB / 0.9622 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/0.3053, allocations: 1.869 MB / 0.964 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.3078, allocations: 475.7 kB / 0.9644 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.3238, allocations: 5.59 MB / 0.9699 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004455/0.3283, allocations: 1.773 MB / 0.9716 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001844/0.3301, allocations: 341.5 kB / 0.972 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.3305, allocations: 84.5 kB / 0.972 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.684e-06/0.3305, allocations: 4 kB / 0.972 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of Templates: time 0.07766/0.4081, allocations: 32.8 MB / 1.004 GB, free: 10.36 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/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: 8.819064704002813]