Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001355/0.001355, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001548/0.001548, allocations: 190.5 kB / 22.17 MB, free: 5.652 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.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8141, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04558/0.8597, allocations: 36.81 MB / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.8786, allocations: 10.31 MB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.8819, allocations: 147.2 kB / 1.32 GB, free: 5.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.8926, allocations: 3.944 MB / 1.324 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.899, allocations: 2.149 MB / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.9049, allocations: 2.026 MB / 1.328 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.9169, allocations: 7.967 MB / 1.336 GB, free: 4.988 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008989/0.9259, allocations: 4.891 MB / 1.341 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.9323, allocations: 3.423 MB / 1.344 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007213/0.9395, allocations: 3.933 MB / 1.348 GB, free: 8.594 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.9414, allocations: 0.6797 MB / 1.349 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.9455, allocations: 1.467 MB / 1.35 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003761/0.9492, allocations: 2.689 MB / 1.353 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005484/0.9547, allocations: 3.104 MB / 1.356 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.9687, allocations: 10.41 MB / 1.366 GB, free: 6.195 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.9687, allocations: 4 kB / 1.366 GB, free: 6.191 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9687, allocations: 0 / 1.366 GB, free: 6.191 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003339/0.9691, allocations: 4 kB / 1.366 GB, free: 6.188 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01396/0.983, allocations: 5.538 MB / 1.371 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.9831, allocations: 8.031 kB / 1.371 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.9883, allocations: 0.9851 MB / 1.372 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/0.9964, allocations: 3.2 MB / 1.375 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.9967, allocations: 353.9 kB / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.9981, allocations: 472.3 kB / 1.376 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/1.014, allocations: 7.918 MB / 1.384 GB, free: 3.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.014, allocations: 19.81 kB / 1.384 GB, free: 3.211 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/1.014, allocations: 208 kB / 1.384 GB, free: 3.008 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/1.015, allocations: 369.1 kB / 1.384 GB, free: 2.645 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/1.027, allocations: 5.937 MB / 1.39 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/1.072, allocations: 36.02 MB / 1.425 GB, free: 5.449 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/1.075, allocations: 1.99 MB / 1.427 GB, free: 3.445 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/1.077, allocations: 1.328 MB / 1.429 GB, free: 2.117 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/1.077, allocations: 21.31 kB / 1.429 GB, free: 2.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/1.077, allocations: 59.8 kB / 1.429 GB, free: 2.027 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.115e-06/1.077, allocations: 4 kB / 1.429 GB, free: 2.023 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01441/1.092, allocations: 7.567 MB / 1.436 GB, free: 10.19 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/1.092, allocations: 72.72 kB / 1.436 GB, free: 10.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/1.094, allocations: 1.86 MB / 1.438 GB, free: 8.223 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/1.094, allocations: 53.7 kB / 1.438 GB, free: 8.164 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/1.096, allocations: 2.188 MB / 1.44 GB, free: 5.957 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/1.097, allocations: 0.5887 MB / 1.441 GB, free: 5.363 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006212/1.097, allocations: 400 kB / 1.441 GB, free: 4.965 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.097, allocations: 305.1 kB / 1.441 GB, free: 4.664 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/1.099, allocations: 1.062 MB / 1.442 GB, free: 3.598 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/1.101, allocations: 1.764 MB / 1.444 GB, free: 1.512 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/1.105, allocations: 3.049 MB / 1.447 GB, free: 14.15 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.105, allocations: 4 kB / 1.447 GB, free: 14.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006668/1.112, allocations: 3.911 MB / 1.451 GB, free: 10.19 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.112, allocations: 20.03 kB / 1.451 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/1.112, allocations: 24 kB / 1.451 GB, free: 10.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/1.114, allocations: 0.9272 MB / 1.452 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/1.116, allocations: 431.2 kB / 1.452 GB, free: 8.762 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/1.139, allocations: 22.77 MB / 1.475 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.141, allocations: 119.9 kB / 1.475 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.141, allocations: 95.94 kB / 1.475 GB, free: 96 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002646/1.143, allocations: 1.65 MB / 1.476 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/1.144, allocations: 270.4 kB / 1.477 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.15, allocations: 3.232 MB / 1.48 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.15, allocations: 16 kB / 1.48 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.15, allocations: 12 kB / 1.48 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/1.15, allocations: 7.969 kB / 1.48 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.164, allocations: 7.529 MB / 1.487 GB, free: 3.164 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.164, allocations: 4 kB / 1.487 GB, free: 3.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/1.165, allocations: 215.6 kB / 1.487 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/1.168, allocations: 0.8926 MB / 1.488 GB, free: 2.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/1.168, allocations: 31.98 kB / 1.488 GB, free: 1.988 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02504/1.193, allocations: 22.75 MB / 1.511 GB, free: 9.559 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.193, allocations: 4.188 kB / 1.511 GB, free: 9.555 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006246/1.2, allocations: 3.361 MB / 1.514 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.201, allocations: 0.5384 MB / 1.514 GB, free: 5.523 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/1.202, allocations: 40 kB / 1.514 GB, free: 5.484 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.203, allocations: 95.83 kB / 1.514 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/1.203, allocations: 140.9 kB / 1.515 GB, free: 5.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.204, allocations: 52 kB / 1.515 GB, free: 5.199 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001881/1.205, allocations: 1.225 MB / 1.516 GB, free: 3.961 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.205, allocations: 0 / 1.516 GB, free: 3.961 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003143/1.209, allocations: 0.9023 MB / 1.517 GB, free: 3.059 MB / 1.217 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003219/1.209, allocations: 159.5 kB / 1.517 GB, free: 2.895 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007408/1.216, allocations: 4.299 MB / 1.521 GB, free: 14.44 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.216, allocations: 0 / 1.521 GB, free: 14.44 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004779/1.221, allocations: 2.902 MB / 1.524 GB, free: 11.38 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.225, allocations: 0.8166 MB / 1.525 GB, free: 10.58 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.241, allocations: 7.858 MB / 1.532 GB, free: 2.625 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/1.245, allocations: 3.209 MB / 1.536 GB, free: 15.38 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001869/1.247, allocations: 0.5254 MB / 1.536 GB, free: 14.85 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/1.247, allocations: 143.4 kB / 1.536 GB, free: 14.71 MB / 1.248 GB Notification: Performance of SimCode: time 1.282e-06/1.247, allocations: 0 / 1.536 GB, free: 14.71 MB / 1.248 GB Notification: Performance of Templates: time 0.08218/1.33, allocations: 42.88 MB / 1.578 GB, free: 4.445 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.314611305948347]