Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001932/0.001932, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00158/0.00158, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [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.002389/0.002389, allocations: 67.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4252, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.9073/1.332, allocations: 29.28 MB / 1.146 GB, free: 47.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02075/1.353, allocations: 13.2 MB / 1.159 GB, free: 39.49 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/1.358, allocations: 198.6 kB / 1.159 GB, free: 39.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.008365/1.366, allocations: 3.203 MB / 1.162 GB, free: 37.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009774/1.376, allocations: 2.752 MB / 1.165 GB, free: 35.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006284/1.382, allocations: 2.033 MB / 1.167 GB, free: 34.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01146/1.394, allocations: 7.627 MB / 1.174 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009183/1.403, allocations: 4.577 MB / 1.179 GB, free: 29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008637/1.412, allocations: 3.667 MB / 1.182 GB, free: 27.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008841/1.421, allocations: 3.29 MB / 1.186 GB, free: 26.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003517/1.424, allocations: 0.5924 MB / 1.186 GB, free: 26.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007181/1.431, allocations: 1.401 MB / 1.188 GB, free: 25.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006841/1.438, allocations: 2.417 MB / 1.19 GB, free: 24.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/1.449, allocations: 2.324 MB / 1.192 GB, free: 23.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/1.471, allocations: 9.523 MB / 1.202 GB, free: 20.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/1.471, allocations: 0 / 1.202 GB, free: 20.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.886e-06/1.471, allocations: 1.312 kB / 1.202 GB, free: 20.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004726/1.471, allocations: 0 / 1.202 GB, free: 20.5 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02359/1.495, allocations: 5.175 MB / 1.207 GB, free: 17.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.495, allocations: 10 kB / 1.207 GB, free: 17.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/1.503, allocations: 1.029 MB / 1.208 GB, free: 17.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.514, allocations: 3.006 MB / 1.211 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/1.514, allocations: 314.1 kB / 1.211 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.517, allocations: 423.2 kB / 1.211 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.536, allocations: 7.362 MB / 1.218 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/1.536, allocations: 29.2 kB / 1.218 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006113/1.536, allocations: 182.5 kB / 1.219 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/1.537, allocations: 373.9 kB / 1.219 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/1.551, allocations: 5.101 MB / 1.224 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03849/1.59, allocations: 19.06 MB / 1.243 GB, free: 13.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/1.593, allocations: 1.306 MB / 1.244 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/1.595, allocations: 1.244 MB / 1.245 GB, free: 12.15 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/1.595, allocations: 17.25 kB / 1.245 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/1.595, allocations: 55.5 kB / 1.245 GB, free: 12.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=130): time 4.007e-06/1.595, allocations: 0 / 1.245 GB, free: 12.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=199): time 0.09543/1.69, allocations: 22.83 MB / 1.267 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/1.69, allocations: 77.34 kB / 1.267 GB, free: 448 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/1.694, allocations: 1.845 MB / 1.269 GB, free: 14.56 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003648/1.694, allocations: 61.64 kB / 1.269 GB, free: 14.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.696, allocations: 2.077 MB / 1.271 GB, free: 12.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.697, allocations: 0.7087 MB / 1.272 GB, free: 11.69 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008748/1.698, allocations: 412.4 kB / 1.272 GB, free: 11.28 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.698, allocations: 305.1 kB / 1.273 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/1.701, allocations: 1.433 MB / 1.274 GB, free: 9.539 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/1.704, allocations: 2.01 MB / 1.276 GB, free: 7.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/1.709, allocations: 3.696 MB / 1.28 GB, free: 3.348 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.709, allocations: 4 kB / 1.28 GB, free: 3.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0126/1.722, allocations: 5.573 MB / 1.285 GB, free: 13.7 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/1.722, allocations: 16 kB / 1.285 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.722, allocations: 16 kB / 1.285 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007418/1.729, allocations: 2.08 MB / 1.287 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.731, allocations: 379.4 kB / 1.288 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04695/1.778, allocations: 35.88 MB / 1.323 GB, free: 5.453 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/1.782, allocations: 127.9 kB / 1.323 GB, free: 5.328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/1.782, allocations: 88 kB / 1.323 GB, free: 5.242 MB / 1.154 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.004092/1.786, allocations: 1.509 MB / 1.324 GB, free: 3.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008595/1.787, allocations: 274.3 kB / 1.325 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.798, allocations: 5.134 MB / 1.33 GB, free: 14.24 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.798, allocations: 23.94 kB / 1.33 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.48e-05/1.798, allocations: 16 kB / 1.33 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/1.799, allocations: 11.95 kB / 1.33 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.818, allocations: 8.435 MB / 1.338 GB, free: 5.574 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.818, allocations: 8 kB / 1.338 GB, free: 5.566 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/1.819, allocations: 211.7 kB / 1.338 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006361/1.825, allocations: 1.838 MB / 1.34 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/1.826, allocations: 52 kB / 1.34 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04636/1.872, allocations: 34.9 MB / 1.374 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.872, allocations: 4 kB / 1.374 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.883, allocations: 4.831 MB / 1.379 GB, free: 9.676 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.885, allocations: 0.5255 MB / 1.379 GB, free: 9.148 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.885, allocations: 43.98 kB / 1.379 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.887, allocations: 131.8 kB / 1.379 GB, free: 8.977 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/1.888, allocations: 197.4 kB / 1.38 GB, free: 8.781 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.888, allocations: 56 kB / 1.38 GB, free: 8.727 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002003/1.89, allocations: 1.207 MB / 1.381 GB, free: 7.504 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/1.89, allocations: 0 / 1.381 GB, free: 7.504 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004347/1.894, allocations: 1.051 MB / 1.382 GB, free: 6.453 MB / 1.217 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.0003935/1.895, allocations: 166.9 kB / 1.382 GB, free: 6.281 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.906, allocations: 6.007 MB / 1.388 GB, free: 48 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/1.906, allocations: 0 / 1.388 GB, free: 48 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007987/1.914, allocations: 4.296 MB / 1.392 GB, free: 11.52 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/1.918, allocations: 0.9021 MB / 1.393 GB, free: 10.64 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.935, allocations: 8.267 MB / 1.401 GB, free: 2.293 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/1.939, allocations: 2.576 MB / 1.404 GB, free: 15.68 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002242/1.942, allocations: 0.4944 MB / 1.404 GB, free: 15.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/1.942, allocations: 132.5 kB / 1.404 GB, free: 15.05 MB / 1.248 GB Notification: Performance of SimCode: time 1.443e-06/1.942, allocations: 0 / 1.404 GB, free: 15.05 MB / 1.248 GB Notification: Performance of Templates: time 0.1125/2.054, allocations: 60.57 MB / 1.463 GB, free: 3.656 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 12.208470400073566]