Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001622/0.001622, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001823/0.001823, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.277/3.277, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.002171/0.002171, allocations: 67.12 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4274, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04242/0.4698, allocations: 34.83 MB / 1.361 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.4974, allocations: 15.31 MB / 1.376 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.5027, allocations: 214.3 kB / 1.376 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.5139, allocations: 3.811 MB / 1.38 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.525, allocations: 3.003 MB / 1.383 GB, free: 8.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008/0.533, allocations: 2.387 MB / 1.385 GB, free: 5.703 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01537/0.5484, allocations: 8.828 MB / 1.394 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.5589, allocations: 5.551 MB / 1.399 GB, free: 7.168 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009233/0.5681, allocations: 4.203 MB / 1.403 GB, free: 2.953 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009089/0.5772, allocations: 4.186 MB / 1.408 GB, free: 14.75 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.00298/0.5802, allocations: 0.7148 MB / 1.408 GB, free: 14.04 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006143/0.5863, allocations: 1.744 MB / 1.41 GB, free: 12.29 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.00601/0.5923, allocations: 2.884 MB / 1.413 GB, free: 9.402 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.009993/0.6023, allocations: 3.392 MB / 1.416 GB, free: 5.996 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.624, allocations: 11.19 MB / 1.427 GB, free: 10.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.624, allocations: 0 / 1.427 GB, free: 10.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6241, allocations: 0 / 1.427 GB, free: 10.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0005039/0.6246, allocations: 0 / 1.427 GB, free: 10.77 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02145/0.646, allocations: 6.037 MB / 1.433 GB, free: 4.668 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6461, allocations: 12.03 kB / 1.433 GB, free: 4.656 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007993/0.654, allocations: 1.172 MB / 1.434 GB, free: 3.48 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.6641, allocations: 3.446 MB / 1.437 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.6645, allocations: 374.4 kB / 1.438 GB, free: 15.58 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.6668, allocations: 496 kB / 1.438 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.6859, allocations: 7.981 MB / 1.446 GB, free: 6.852 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.6861, allocations: 23.83 kB / 1.446 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006312/0.6867, allocations: 220 kB / 1.446 GB, free: 6.613 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.6878, allocations: 437.6 kB / 1.447 GB, free: 6.184 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.7021, allocations: 6.088 MB / 1.453 GB, free: 84 kB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05108/0.7532, allocations: 34.65 MB / 1.486 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.7562, allocations: 1.909 MB / 1.488 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.7588, allocations: 1.748 MB / 1.49 GB, free: 6.578 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.759, allocations: 22 kB / 1.49 GB, free: 6.555 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.759, allocations: 64.42 kB / 1.49 GB, free: 6.484 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.977e-06/0.759, allocations: 0 / 1.49 GB, free: 6.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1442/0.9032, allocations: 38.7 MB / 1.528 GB, free: 15.72 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.9033, allocations: 85.58 kB / 1.528 GB, free: 15.62 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/0.9071, allocations: 2.278 MB / 1.53 GB, free: 13.33 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 0.0004557/0.9075, allocations: 73.7 kB / 1.53 GB, free: 13.25 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.9095, allocations: 2.338 MB / 1.533 GB, free: 10.9 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.9108, allocations: 0.9837 MB / 1.534 GB, free: 9.906 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009601/0.9118, allocations: 0.514 MB / 1.534 GB, free: 9.383 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9119, allocations: 305.1 kB / 1.534 GB, free: 9.082 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/0.9149, allocations: 1.97 MB / 1.536 GB, free: 7.109 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.9185, allocations: 2.602 MB / 1.539 GB, free: 4.262 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/0.9256, allocations: 4.933 MB / 1.544 GB, free: 15.05 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.9256, allocations: 4 kB / 1.544 GB, free: 15.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01552/0.9412, allocations: 7.646 MB / 1.551 GB, free: 7.332 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.9412, allocations: 12 kB / 1.551 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.9412, allocations: 16 kB / 1.551 GB, free: 7.305 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009686/0.9509, allocations: 3.221 MB / 1.554 GB, free: 4.066 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.9527, allocations: 407.3 kB / 1.555 GB, free: 3.668 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04831/1.001, allocations: 33.3 MB / 1.587 GB, free: 1.684 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.004, allocations: 163.8 kB / 1.587 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/1.005, allocations: 108 kB / 1.587 GB, free: 1.418 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003692/1.008, allocations: 1.79 MB / 1.589 GB, free: 15.61 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/1.009, allocations: 349.9 kB / 1.589 GB, free: 15.27 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.024, allocations: 7.243 MB / 1.597 GB, free: 7.945 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.024, allocations: 24 kB / 1.597 GB, free: 7.922 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-05/1.024, allocations: 32 kB / 1.597 GB, free: 7.891 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/1.024, allocations: 15.94 kB / 1.597 GB, free: 7.875 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9789/2.003, allocations: 12.78 MB / 1.609 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/2.003, allocations: 12.31 kB / 1.609 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/2.004, allocations: 229.9 kB / 1.609 GB, free: 253.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008747/2.013, allocations: 2.859 MB / 1.612 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/2.013, allocations: 54.41 kB / 1.612 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/2.058, allocations: 32.07 MB / 1.644 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/2.058, allocations: 11.88 kB / 1.644 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/2.07, allocations: 6.777 MB / 1.65 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/2.072, allocations: 0.7233 MB / 1.651 GB, free: 233.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007496/2.073, allocations: 55.91 kB / 1.651 GB, free: 233 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/2.075, allocations: 171.3 kB / 1.651 GB, free: 233 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/2.076, allocations: 271 kB / 1.651 GB, free: 233 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/2.076, allocations: 74.59 kB / 1.651 GB, free: 232.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00202/2.078, allocations: 1.527 MB / 1.653 GB, free: 232.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/2.078, allocations: 5.25 kB / 1.653 GB, free: 232.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005138/2.083, allocations: 1.368 MB / 1.654 GB, free: 232.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004563/2.083, allocations: 173.4 kB / 1.654 GB, free: 232.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009921/2.093, allocations: 6.577 MB / 1.661 GB, free: 229.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/2.093, allocations: 0 / 1.661 GB, free: 229.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007308/2.101, allocations: 4.258 MB / 1.665 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/2.106, allocations: 1.118 MB / 1.666 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/2.123, allocations: 11.04 MB / 1.677 GB, free: 218.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/2.128, allocations: 3.753 MB / 1.68 GB, free: 214.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/2.128, allocations: 171.4 kB / 1.681 GB, free: 214.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.263e-06/2.128, allocations: 0 / 1.681 GB, free: 214.1 MB / 1.295 GB Notification: Performance of Templates: time 0.1927/2.321, allocations: 227.9 MB / 1.903 GB, free: 2.332 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 26.999451570009114]