Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001449/0.001449, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001858/0.001858, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.03 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8674, allocations: 160.8 MB / 1.218 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04484/0.9122, allocations: 34.28 MB / 1.252 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01954/0.9318, allocations: 10.65 MB / 1.262 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.9357, allocations: 194.6 kB / 1.263 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.9468, allocations: 3.889 MB / 1.266 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007291/0.9541, allocations: 1.948 MB / 1.268 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006962/0.9611, allocations: 2.197 MB / 1.27 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01128/0.9724, allocations: 7.33 MB / 1.278 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009188/0.9816, allocations: 4.824 MB / 1.282 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006292/0.9879, allocations: 3.26 MB / 1.285 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.9945, allocations: 3.688 MB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002076/0.9966, allocations: 0.6445 MB / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/1.002, allocations: 1.814 MB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004457/1.006, allocations: 2.611 MB / 1.294 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005742/1.012, allocations: 2.898 MB / 1.297 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/1.028, allocations: 10.13 MB / 1.307 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.028, allocations: 0 / 1.307 GB, free: 12.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/1.028, allocations: 0 / 1.307 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003506/1.028, allocations: 0 / 1.307 GB, free: 12.55 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01643/1.044, allocations: 5.124 MB / 1.312 GB, free: 7.348 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.044, allocations: 16.03 kB / 1.312 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/1.051, allocations: 0.9735 MB / 1.313 GB, free: 6.355 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007474/1.058, allocations: 3.063 MB / 1.316 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/1.059, allocations: 345.7 kB / 1.316 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.06, allocations: 464.3 kB / 1.316 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/1.078, allocations: 7.667 MB / 1.324 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/1.078, allocations: 27.78 kB / 1.324 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/1.078, allocations: 200 kB / 1.324 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004553/1.079, allocations: 320.9 kB / 1.324 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/1.091, allocations: 5.702 MB / 1.33 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/1.14, allocations: 34.89 MB / 1.364 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/1.143, allocations: 2.011 MB / 1.366 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.145, allocations: 1.128 MB / 1.367 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/1.145, allocations: 21.23 kB / 1.367 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.145, allocations: 47.88 kB / 1.367 GB, free: 10.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=133): time 2.936e-06/1.145, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=136): time 0.01502/1.16, allocations: 7.106 MB / 1.374 GB, free: 3.371 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/1.16, allocations: 68.72 kB / 1.374 GB, free: 3.293 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.162, allocations: 1.492 MB / 1.376 GB, free: 1.754 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/1.163, allocations: 49.7 kB / 1.376 GB, free: 1.699 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.164, allocations: 2.065 MB / 1.378 GB, free: 15.61 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/1.165, allocations: 0.4996 MB / 1.378 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005343/1.165, allocations: 355.4 kB / 1.379 GB, free: 14.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.165, allocations: 301.1 kB / 1.379 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.167, allocations: 0.9096 MB / 1.38 GB, free: 13.54 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.169, allocations: 1.597 MB / 1.381 GB, free: 11.63 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/1.173, allocations: 2.737 MB / 1.384 GB, free: 8.586 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.173, allocations: 8 kB / 1.384 GB, free: 8.578 MB / 1.092 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006956/1.18, allocations: 3.512 MB / 1.387 GB, free: 5.02 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/1.18, allocations: 12 kB / 1.387 GB, free: 5.008 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/1.18, allocations: 24 kB / 1.387 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/1.183, allocations: 0.8999 MB / 1.388 GB, free: 4.047 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.184, allocations: 351.3 kB / 1.389 GB, free: 3.703 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/1.209, allocations: 23.12 MB / 1.411 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.211, allocations: 104 kB / 1.411 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/1.211, allocations: 83.94 kB / 1.411 GB, free: 10.73 MB / 1.123 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.002797/1.214, allocations: 1.621 MB / 1.413 GB, free: 9.098 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/1.214, allocations: 214.6 kB / 1.413 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/1.22, allocations: 2.963 MB / 1.416 GB, free: 5.875 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.22, allocations: 12 kB / 1.416 GB, free: 5.863 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.22, allocations: 12 kB / 1.416 GB, free: 5.852 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.22, allocations: 3.984 kB / 1.416 GB, free: 5.848 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.237, allocations: 7.313 MB / 1.423 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.237, allocations: 4 kB / 1.423 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.239, allocations: 179.7 kB / 1.423 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/1.243, allocations: 0.834 MB / 1.424 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/1.244, allocations: 28 kB / 1.424 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03301/1.277, allocations: 21.95 MB / 1.446 GB, free: 5.582 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/1.277, allocations: 7.938 kB / 1.446 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/1.286, allocations: 3.018 MB / 1.449 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.287, allocations: 463.6 kB / 1.449 GB, free: 1.973 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.288, allocations: 43.88 kB / 1.449 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.289, allocations: 63.92 kB / 1.449 GB, free: 1.867 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005269/1.29, allocations: 132.6 kB / 1.449 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.29, allocations: 36 kB / 1.449 GB, free: 1.703 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002105/1.292, allocations: 0.9795 MB / 1.45 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.292, allocations: 0 / 1.45 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004514/1.296, allocations: 0.793 MB / 1.451 GB, free: 15.9 MB / 1.17 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.0003423/1.297, allocations: 147 kB / 1.451 GB, free: 15.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008622/1.305, allocations: 3.906 MB / 1.455 GB, free: 11.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.305, allocations: 4 kB / 1.455 GB, free: 11.69 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005615/1.311, allocations: 2.678 MB / 1.458 GB, free: 8.852 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005144/1.316, allocations: 0.7223 MB / 1.458 GB, free: 8.152 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.342, allocations: 7.349 MB / 1.466 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008218/1.35, allocations: 3.109 MB / 1.469 GB, free: 13.56 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002304/1.352, allocations: 458 kB / 1.469 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/1.353, allocations: 123.3 kB / 1.469 GB, free: 12.99 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/1.353, allocations: 0 / 1.469 GB, free: 12.99 MB / 1.186 GB Notification: Performance of Templates: time 0.1064/1.459, allocations: 37.89 MB / 1.506 GB, free: 7.484 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.475203960202634]