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.001328/0.001328, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001451/0.001451, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.545/1.545, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.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.719/2.719, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] 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.001999/0.001999, allocations: 71.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03679/0.3736, allocations: 31.24 MB / 1.245 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.396, allocations: 13.71 MB / 1.258 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/0.3996, allocations: 143.2 kB / 1.258 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009067/0.4087, allocations: 3.241 MB / 1.261 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7071/1.116, allocations: 2.762 MB / 1.264 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006146/1.122, allocations: 2.012 MB / 1.266 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01237/1.134, allocations: 7.62 MB / 1.273 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/1.146, allocations: 6.14 MB / 1.279 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009132/1.156, allocations: 3.469 MB / 1.283 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008306/1.164, allocations: 3.57 MB / 1.286 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002523/1.166, allocations: 0.5953 MB / 1.287 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005343/1.172, allocations: 1.521 MB / 1.288 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004306/1.176, allocations: 2.425 MB / 1.291 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008085/1.184, allocations: 2.879 MB / 1.293 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.2, allocations: 9.493 MB / 1.303 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.2, allocations: 0.6562 kB / 1.303 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/1.2, allocations: 1.25 kB / 1.303 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000337/1.201, allocations: 0 / 1.303 GB, free: 8.953 MB / 0.9981 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.01922/1.22, allocations: 5.27 MB / 1.308 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.22, allocations: 13.42 kB / 1.308 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008595/1.228, allocations: 1.012 MB / 1.309 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00967/1.238, allocations: 3.105 MB / 1.312 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/1.239, allocations: 319.5 kB / 1.312 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/1.241, allocations: 421.5 kB / 1.313 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/1.261, allocations: 6.789 MB / 1.319 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/1.262, allocations: 22.62 kB / 1.319 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002219/1.264, allocations: 183.4 kB / 1.319 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001142/1.265, allocations: 373.2 kB / 1.32 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.279, allocations: 5.127 MB / 1.325 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/1.33, allocations: 30.57 MB / 1.355 GB, free: 2.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/1.332, allocations: 1.324 MB / 1.356 GB, free: 2.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.334, allocations: 1.248 MB / 1.357 GB, free: 1.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/1.334, allocations: 13.81 kB / 1.357 GB, free: 1.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.334, allocations: 51.91 kB / 1.357 GB, free: 1.406 MB / 1.029 GB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/1.334, allocations: 0 / 1.357 GB, free: 1.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=199): time 0.09446/1.429, allocations: 23.08 MB / 1.38 GB, free: 14.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.429, allocations: 69.41 kB / 1.38 GB, free: 14.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/1.433, allocations: 2.063 MB / 1.382 GB, free: 12.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/1.433, allocations: 61.7 kB / 1.382 GB, free: 12.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.435, allocations: 2.066 MB / 1.384 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00093/1.436, allocations: 0.7145 MB / 1.385 GB, free: 9.957 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.437, allocations: 412.4 kB / 1.385 GB, free: 9.547 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.437, allocations: 305.1 kB / 1.385 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/1.439, allocations: 1.43 MB / 1.387 GB, free: 7.812 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/1.442, allocations: 2.01 MB / 1.389 GB, free: 5.559 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005642/1.448, allocations: 3.707 MB / 1.392 GB, free: 1.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.448, allocations: 7.75 kB / 1.392 GB, free: 1.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01263/1.461, allocations: 5.592 MB / 1.398 GB, free: 11.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.461, allocations: 12 kB / 1.398 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.461, allocations: 27.36 kB / 1.398 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007514/1.468, allocations: 2.082 MB / 1.4 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.47, allocations: 371.4 kB / 1.4 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/1.515, allocations: 38.46 MB / 1.438 GB, free: 0.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.518, allocations: 135.9 kB / 1.438 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.519, allocations: 88 kB / 1.438 GB, free: 288 kB / 1.107 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.003721/1.523, allocations: 1.51 MB / 1.439 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009802/1.524, allocations: 294.2 kB / 1.44 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.536, allocations: 5.145 MB / 1.445 GB, free: 9.254 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/1.536, allocations: 19.94 kB / 1.445 GB, free: 9.234 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.577e-05/1.536, allocations: 20 kB / 1.445 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.536, allocations: 11.95 kB / 1.445 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.558, allocations: 9.598 MB / 1.454 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/1.558, allocations: 8.031 kB / 1.454 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.559, allocations: 219.5 kB / 1.454 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00648/1.565, allocations: 1.837 MB / 1.456 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/1.566, allocations: 48 kB / 1.456 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04422/1.61, allocations: 37.47 MB / 1.493 GB, free: 5.344 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.61, allocations: 11.94 kB / 1.493 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.621, allocations: 4.861 MB / 1.498 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.623, allocations: 0.6241 MB / 1.498 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.624, allocations: 48.11 kB / 1.498 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.626, allocations: 131.8 kB / 1.498 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007732/1.627, allocations: 193.5 kB / 1.499 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.627, allocations: 52 kB / 1.499 GB, free: 15.26 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002923/1.63, allocations: 1.386 MB / 1.5 GB, free: 13.86 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.63, allocations: 0 / 1.5 GB, free: 13.86 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005065/1.635, allocations: 1.047 MB / 1.501 GB, free: 12.82 MB / 1.186 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.0005214/1.636, allocations: 167 kB / 1.501 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.647, allocations: 6.011 MB / 1.507 GB, free: 6.418 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.647, allocations: 0 / 1.507 GB, free: 6.418 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008042/1.655, allocations: 4.276 MB / 1.511 GB, free: 1.914 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/1.661, allocations: 0.9964 MB / 1.512 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.682, allocations: 8.738 MB / 1.521 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/1.687, allocations: 3.175 MB / 1.524 GB, free: 4.941 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/1.688, allocations: 163.4 kB / 1.524 GB, free: 4.781 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/1.688, allocations: 0 / 1.524 GB, free: 4.781 MB / 1.201 GB Notification: Performance of Templates: time 1.136/2.824, allocations: 465.1 MB / 1.978 GB, free: 420.2 MB / 1.498 GB " [Timeout remaining time 297] 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 -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: 29.082624268950894]