Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.9 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 191.7 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.154/3.154, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008485/1.144, allocations: 6.163 MB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006032/1.15, allocations: 3.185 MB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/1.151, allocations: 32.69 kB / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/1.154, allocations: 0.9275 MB / 1.273 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/1.156, allocations: 481.6 kB / 1.273 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/1.157, allocations: 495.6 kB / 1.274 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002239/1.16, allocations: 1.11 MB / 1.275 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.161, allocations: 0.6353 MB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/1.162, allocations: 437.1 kB / 1.276 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/1.163, allocations: 470.6 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/1.163, allocations: 58.25 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/1.165, allocations: 493.5 kB / 1.277 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/1.165, allocations: 291.5 kB / 1.277 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/1.166, allocations: 396.2 kB / 1.277 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/1.169, allocations: 1.187 MB / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.169, allocations: 0 / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.976e-06/1.169, allocations: 1.219 kB / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.623e-05/1.169, allocations: 0 / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00255/1.171, allocations: 1.084 MB / 1.28 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.171, allocations: 10.19 kB / 1.28 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/1.173, allocations: 230.7 kB / 1.28 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.174, allocations: 0.5964 MB / 1.28 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/1.174, allocations: 48.27 kB / 1.28 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.175, allocations: 67.28 kB / 1.28 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/1.177, allocations: 1.027 MB / 1.281 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/1.177, allocations: 8.375 kB / 1.281 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/1.177, allocations: 27.91 kB / 1.281 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.177, allocations: 66.53 kB / 1.282 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.178, allocations: 0.6946 MB / 1.282 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/1.185, allocations: 5.736 MB / 1.288 GB, free: 7.371 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/1.186, allocations: 0.599 MB / 1.288 GB, free: 6.996 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/1.187, allocations: 442.5 kB / 1.289 GB, free: 6.848 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.187, allocations: 11.12 kB / 1.289 GB, free: 6.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.187, allocations: 45.47 kB / 1.289 GB, free: 6.789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 3.015e-06/1.187, allocations: 0 / 1.289 GB, free: 6.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.00516/1.192, allocations: 2.021 MB / 1.291 GB, free: 5.746 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.192, allocations: 56.59 kB / 1.291 GB, free: 5.684 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/1.193, allocations: 464.5 kB / 1.291 GB, free: 5.465 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/1.193, allocations: 35.33 kB / 1.291 GB, free: 5.426 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/1.194, allocations: 399 kB / 1.292 GB, free: 5.109 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.194, allocations: 155.5 kB / 1.292 GB, free: 4.988 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/1.194, allocations: 117.3 kB / 1.292 GB, free: 4.918 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002407/1.194, allocations: 361 kB / 1.292 GB, free: 4.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.195, allocations: 243 kB / 1.293 GB, free: 4.504 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/1.195, allocations: 451.5 kB / 1.293 GB, free: 4.152 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.197, allocations: 0.7445 MB / 1.294 GB, free: 3.645 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.197, allocations: 1.281 kB / 1.294 GB, free: 3.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002193/1.199, allocations: 1.056 MB / 1.295 GB, free: 3.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.199, allocations: 7.875 kB / 1.295 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.199, allocations: 6.781 kB / 1.295 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.2, allocations: 323.5 kB / 1.295 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.2, allocations: 94.08 kB / 1.295 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/1.209, allocations: 7.476 MB / 1.303 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/1.21, allocations: 29.91 kB / 1.303 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/1.21, allocations: 26.38 kB / 1.303 GB, free: 12.7 MB / 1.029 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000497/1.211, allocations: 247.1 kB / 1.303 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.211, allocations: 64.47 kB / 1.303 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/1.213, allocations: 0.8993 MB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.213, allocations: 4.375 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.213, allocations: 4.094 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.213, allocations: 3.516 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.216, allocations: 1.681 MB / 1.305 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.216, allocations: 1.156 kB / 1.305 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.216, allocations: 42.59 kB / 1.305 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009459/1.217, allocations: 305.6 kB / 1.306 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/1.217, allocations: 12.19 kB / 1.306 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008503/1.226, allocations: 7.473 MB / 1.313 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.226, allocations: 9.312 kB / 1.313 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.228, allocations: 0.9799 MB / 1.314 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/1.228, allocations: 178.8 kB / 1.314 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/1.228, allocations: 13.02 kB / 1.314 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/1.228, allocations: 22.77 kB / 1.314 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.229, allocations: 44.09 kB / 1.314 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.229, allocations: 12.34 kB / 1.314 GB, free: 4.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004345/1.229, allocations: 311.2 kB / 1.315 GB, free: 3.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.229, allocations: 0 / 1.315 GB, free: 3.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009463/1.23, allocations: 194.1 kB / 1.315 GB, free: 3.895 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001969/1.23, allocations: 120.6 kB / 1.315 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.232, allocations: 1.206 MB / 1.316 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.232, allocations: 4.125 kB / 1.316 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.234, allocations: 0.8589 MB / 1.317 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.235, allocations: 200.8 kB / 1.317 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/1.238, allocations: 1.316 MB / 1.318 GB, free: 1.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/1.239, allocations: 0.9947 MB / 1.319 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/1.239, allocations: 43.02 kB / 1.319 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of SimCode: time 6.22e-07/1.239, allocations: 0 / 1.319 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of Templates: time 0.03093/1.27, allocations: 18.69 MB / 1.338 GB, free: 11.41 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.668195378035307]