Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001667/0.001667, 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.001997/0.001997, allocations: 192.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.51/1.51, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 63.91 kB / 1.061 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 160.7 MB / 1.218 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04168/1.045, allocations: 32.14 MB / 1.25 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02475/1.069, allocations: 13.96 MB / 1.263 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/1.073, allocations: 143.2 kB / 1.263 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009381/1.082, allocations: 3.316 MB / 1.267 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009842/1.092, allocations: 2.79 MB / 1.269 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006441/1.099, allocations: 2.06 MB / 1.271 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.111, allocations: 7.62 MB / 1.279 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008285/1.119, allocations: 4.249 MB / 1.283 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007497/1.127, allocations: 3.463 MB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006892/1.134, allocations: 3.578 MB / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002043/1.136, allocations: 0.5938 MB / 1.29 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/1.14, allocations: 1.525 MB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003861/1.144, allocations: 2.424 MB / 1.294 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006635/1.151, allocations: 2.878 MB / 1.297 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01441/1.165, allocations: 9.492 MB / 1.306 GB, free: 12.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/1.165, allocations: 4 kB / 1.306 GB, free: 12.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.165, allocations: 0 / 1.306 GB, free: 12.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003311/1.166, allocations: 0 / 1.306 GB, free: 12.98 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01564/1.181, allocations: 5.27 MB / 1.311 GB, free: 7.621 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.181, allocations: 8.625 kB / 1.312 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/1.188, allocations: 1.013 MB / 1.312 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007591/1.195, allocations: 3.108 MB / 1.316 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/1.196, allocations: 308.9 kB / 1.316 GB, free: 3.105 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.197, allocations: 424 kB / 1.316 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.209, allocations: 6.791 MB / 1.323 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/1.209, allocations: 23.81 kB / 1.323 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004761/1.209, allocations: 184 kB / 1.323 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009002/1.21, allocations: 368 kB / 1.323 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009207/1.22, allocations: 5.118 MB / 1.328 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/1.262, allocations: 30.57 MB / 1.358 GB, free: 4.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/1.265, allocations: 1.306 MB / 1.36 GB, free: 3.254 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/1.267, allocations: 1.265 MB / 1.361 GB, free: 1.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/1.267, allocations: 13.31 kB / 1.361 GB, free: 1.977 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.267, allocations: 51.88 kB / 1.361 GB, free: 1.918 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 2.956e-06/1.267, allocations: 0 / 1.361 GB, free: 1.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.09599/1.363, allocations: 23.07 MB / 1.383 GB, free: 10.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/1.363, allocations: 77.34 kB / 1.383 GB, free: 10.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/1.368, allocations: 2.059 MB / 1.385 GB, free: 8.566 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004435/1.368, allocations: 57.7 kB / 1.386 GB, free: 8.504 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.371, allocations: 2.066 MB / 1.388 GB, free: 6.418 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.372, allocations: 0.7126 MB / 1.388 GB, free: 5.699 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/1.373, allocations: 408.4 kB / 1.389 GB, free: 5.293 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.373, allocations: 309 kB / 1.389 GB, free: 4.988 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/1.377, allocations: 1.43 MB / 1.39 GB, free: 3.555 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004172/1.381, allocations: 2.013 MB / 1.392 GB, free: 1.293 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/1.389, allocations: 3.684 MB / 1.396 GB, free: 13.37 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/1.389, allocations: 15.94 kB / 1.396 GB, free: 13.35 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01738/1.407, allocations: 5.6 MB / 1.401 GB, free: 7.684 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/1.407, allocations: 12 kB / 1.401 GB, free: 7.672 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/1.407, allocations: 16 kB / 1.401 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/1.417, allocations: 2.091 MB / 1.403 GB, free: 5.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/1.419, allocations: 375.4 kB / 1.404 GB, free: 5.141 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0681/1.487, allocations: 38.45 MB / 1.441 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/1.491, allocations: 127.9 kB / 1.441 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005487/1.491, allocations: 88 kB / 1.442 GB, free: 11.94 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.003995/1.495, allocations: 1.512 MB / 1.443 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.496, allocations: 298.5 kB / 1.443 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.513, allocations: 5.137 MB / 1.448 GB, free: 4.914 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.513, allocations: 23.98 kB / 1.448 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/1.513, allocations: 20 kB / 1.448 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/1.513, allocations: 11.95 kB / 1.448 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.541, allocations: 9.602 MB / 1.458 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.541, allocations: 8.844 kB / 1.458 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/1.542, allocations: 211.6 kB / 1.458 GB, free: 10.83 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/1.548, allocations: 1.845 MB / 1.46 GB, free: 8.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/1.548, allocations: 40 kB / 1.46 GB, free: 8.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04352/1.592, allocations: 37.47 MB / 1.496 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.592, allocations: 4 kB / 1.496 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.602, allocations: 4.863 MB / 1.501 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.604, allocations: 0.6241 MB / 1.502 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/1.604, allocations: 51.83 kB / 1.502 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.606, allocations: 131.8 kB / 1.502 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/1.606, allocations: 189.6 kB / 1.502 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.607, allocations: 59.94 kB / 1.502 GB, free: 10.8 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002192/1.609, allocations: 1.378 MB / 1.504 GB, free: 9.414 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.609, allocations: 4 kB / 1.504 GB, free: 9.41 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003817/1.613, allocations: 1.047 MB / 1.505 GB, free: 8.363 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.0003749/1.613, allocations: 167.6 kB / 1.505 GB, free: 8.191 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.624, allocations: 6.015 MB / 1.511 GB, free: 1.945 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.624, allocations: 0 / 1.511 GB, free: 1.945 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.008009/1.632, allocations: 4.281 MB / 1.515 GB, free: 13.43 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.637, allocations: 1.004 MB / 1.516 GB, free: 12.46 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.655, allocations: 8.271 MB / 1.524 GB, free: 4.098 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/1.659, allocations: 3.121 MB / 1.527 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001997/1.661, allocations: 0.5276 MB / 1.527 GB, free: 420 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/1.661, allocations: 151.4 kB / 1.528 GB, free: 268 kB / 1.232 GB Notification: Performance of SimCode: time 8.41e-07/1.661, allocations: 0 / 1.528 GB, free: 268 kB / 1.232 GB Notification: Performance of Templates: time 0.1165/1.778, allocations: 60.21 MB / 1.586 GB, free: 4.828 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.453622789122164]