Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.002034/0.002034, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.002627/0.002627, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.488/1.488, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.844/2.844, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.382e-05, allocations: 6.328 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04515/0.04518, allocations: 30.84 MB / 0.8165 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.06643, allocations: 10.16 MB / 0.8264 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.0697, allocations: 198.5 kB / 0.8266 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.0811, allocations: 3.748 MB / 0.8303 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007075/0.08817, allocations: 1.997 MB / 0.8322 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006537/0.09471, allocations: 2.158 MB / 0.8343 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.1059, allocations: 7.445 MB / 0.8416 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.1172, allocations: 5.132 MB / 0.8466 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.128, allocations: 4.588 MB / 0.8511 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006734/0.1347, allocations: 3.242 MB / 0.8543 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.1367, allocations: 0.6445 MB / 0.8549 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/0.1417, allocations: 1.684 MB / 0.8565 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.004434/0.1461, allocations: 2.724 MB / 0.8592 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004848/0.151, allocations: 2.019 MB / 0.8612 GB, free: 15.93 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.1668, allocations: 10.32 MB / 0.8713 GB, free: 5.582 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1668, allocations: 0 / 0.8713 GB, free: 5.582 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1668, allocations: 0 / 0.8713 GB, free: 5.582 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003509/0.1672, allocations: 4 kB / 0.8713 GB, free: 5.578 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01226/0.1794, allocations: 5.005 MB / 0.8761 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1795, allocations: 8.031 kB / 0.8762 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.1864, allocations: 1.577 MB / 0.8777 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007753/0.1942, allocations: 3.186 MB / 0.8808 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.1946, allocations: 353.7 kB / 0.8811 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.1961, allocations: 464.3 kB / 0.8816 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.2138, allocations: 7.968 MB / 0.8894 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.2139, allocations: 31.95 kB / 0.8894 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.2145, allocations: 196.3 kB / 0.8896 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004198/0.2149, allocations: 320.9 kB / 0.8899 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.2272, allocations: 5.702 MB / 0.8955 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.2624, allocations: 22.05 MB / 0.917 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.2654, allocations: 1.565 MB / 0.9185 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.2671, allocations: 1.12 MB / 0.9196 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/0.2672, allocations: 21.31 kB / 0.9196 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.2673, allocations: 51.88 kB / 0.9197 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/0.2673, allocations: 0 / 0.9197 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.015/0.2823, allocations: 6.25 MB / 0.9258 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.2823, allocations: 68.72 kB / 0.9259 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.2845, allocations: 1.411 MB / 0.9272 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.2846, allocations: 45.7 kB / 0.9273 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.2864, allocations: 2.061 MB / 0.9293 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.287, allocations: 0.4918 MB / 0.9298 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/0.2876, allocations: 351.3 kB / 0.9301 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2877, allocations: 309.1 kB / 0.9304 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.2892, allocations: 0.9096 MB / 0.9313 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.2914, allocations: 1.589 MB / 0.9328 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.2955, allocations: 2.733 MB / 0.9355 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.2955, allocations: 8 kB / 0.9355 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007078/0.3026, allocations: 3.589 MB / 0.939 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.3026, allocations: 21.97 kB / 0.939 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/0.3027, allocations: 20.88 kB / 0.9391 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.3062, allocations: 1.009 MB / 0.94 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.3075, allocations: 347.4 kB / 0.9404 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02671/0.3342, allocations: 21.52 MB / 0.9614 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.3357, allocations: 103.9 kB / 0.9615 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/0.3361, allocations: 84 kB / 0.9616 GB, free: 5.844 MB / 0.9167 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002957/0.3391, allocations: 1.606 MB / 0.9631 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/0.3396, allocations: 242.8 kB / 0.9634 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006114/0.3457, allocations: 2.963 MB / 0.9663 GB, free: 0.9648 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3458, allocations: 12 kB / 0.9663 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/0.3458, allocations: 15.94 kB / 0.9663 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.3458, allocations: 8.25 kB / 0.9663 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.3615, allocations: 6.007 MB / 0.9722 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.3615, allocations: 7.938 kB / 0.9722 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000896/0.3624, allocations: 179.7 kB / 0.9723 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/0.3658, allocations: 0.9238 MB / 0.9732 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.3659, allocations: 28 kB / 0.9733 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/0.39, allocations: 20.38 MB / 0.9932 GB, free: 4.004 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.3901, allocations: 4 kB / 0.9932 GB, free: 4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/0.3964, allocations: 3.037 MB / 0.9961 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.3977, allocations: 382.6 kB / 0.9965 GB, free: 488 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/0.3981, allocations: 31.94 kB / 0.9965 GB, free: 456 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.3992, allocations: 75.91 kB / 0.9966 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.3996, allocations: 124.6 kB / 0.9967 GB, free: 256 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.3997, allocations: 43.94 kB / 0.9968 GB, free: 212 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001681/0.4014, allocations: 0.8942 MB / 0.9976 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 0.9976 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003222/0.4046, allocations: 0.8008 MB / 0.9984 GB, free: 14.52 MB / 0.9636 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.4049, allocations: 139.3 kB / 0.9986 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006713/0.4116, allocations: 3.928 MB / 1.002 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4116, allocations: 0 / 1.002 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.416, allocations: 2.669 MB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/0.4195, allocations: 0.7114 MB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.4357, allocations: 7.441 MB / 1.013 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004883/0.4405, allocations: 2.564 MB / 1.015 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001641/0.4422, allocations: 445.2 kB / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.4426, allocations: 112.5 kB / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/0.4426, allocations: 0 / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of Templates: time 0.07437/0.517, allocations: 36.4 MB / 1.052 GB, free: 8.426 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 9.566218095947988]