Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001853/0.001853, allocations: 109.2 kB / 16.45 MB, free: 6.453 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.002301/0.002301, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.568/1.568, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.408/3.408, allocations: 0.4899 GB / 0.7915 GB, free: 33.2 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002064/0.002064, allocations: 71.53 kB / 1.149 GB, free: 25.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04435/0.3673, allocations: 35.7 MB / 1.356 GB, free: 15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.387, allocations: 10.1 MB / 1.366 GB, free: 4.867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/0.3907, allocations: 190.6 kB / 1.366 GB, free: 4.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.4013, allocations: 3.873 MB / 1.37 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.4082, allocations: 2.146 MB / 1.372 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.4137, allocations: 1.965 MB / 1.374 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.4247, allocations: 7.959 MB / 1.382 GB, free: 4.695 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.4368, allocations: 7.144 MB / 1.389 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.4446, allocations: 3.474 MB / 1.392 GB, free: 9.945 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.4561, allocations: 3.921 MB / 1.396 GB, free: 6.012 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003114/0.4593, allocations: 0.6836 MB / 1.397 GB, free: 5.324 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005841/0.4651, allocations: 1.475 MB / 1.398 GB, free: 3.848 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006507/0.4716, allocations: 2.681 MB / 1.401 GB, free: 1.16 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008323/0.4799, allocations: 3.097 MB / 1.404 GB, free: 14.05 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.5013, allocations: 10.42 MB / 1.414 GB, free: 3.598 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5013, allocations: 0 / 1.414 GB, free: 3.598 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5013, allocations: 0 / 1.414 GB, free: 3.598 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002998/0.5016, allocations: 0 / 1.414 GB, free: 3.598 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02204/0.5237, allocations: 5.534 MB / 1.419 GB, free: 13.98 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5237, allocations: 15.98 kB / 1.419 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/0.5295, allocations: 0.9889 MB / 1.42 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/0.537, allocations: 3.192 MB / 1.423 GB, free: 9.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.5374, allocations: 361.9 kB / 1.424 GB, free: 9.375 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.539, allocations: 464.3 kB / 1.424 GB, free: 8.922 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.5554, allocations: 7.906 MB / 1.432 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.5555, allocations: 23.77 kB / 1.432 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006273/0.5561, allocations: 208 kB / 1.432 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005614/0.5567, allocations: 373.1 kB / 1.432 GB, free: 60 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.5693, allocations: 5.937 MB / 1.438 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04729/0.6166, allocations: 36 MB / 1.473 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.6203, allocations: 1.998 MB / 1.475 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.6224, allocations: 1.337 MB / 1.477 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6225, allocations: 21.25 kB / 1.477 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/0.6226, allocations: 55.81 kB / 1.477 GB, free: 15.45 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 3.607e-06/0.6226, allocations: 0 / 1.477 GB, free: 15.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01546/0.638, allocations: 7.571 MB / 1.484 GB, free: 7.609 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6381, allocations: 76.66 kB / 1.484 GB, free: 7.523 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/0.6409, allocations: 1.86 MB / 1.486 GB, free: 5.637 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.6411, allocations: 57.7 kB / 1.486 GB, free: 5.574 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.6428, allocations: 2.192 MB / 1.488 GB, free: 3.363 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/0.6435, allocations: 0.5771 MB / 1.489 GB, free: 2.781 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000692/0.6442, allocations: 411.9 kB / 1.489 GB, free: 2.371 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6443, allocations: 301.1 kB / 1.489 GB, free: 2.074 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.646, allocations: 1.058 MB / 1.49 GB, free: 1.012 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.6483, allocations: 1.764 MB / 1.492 GB, free: 14.92 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.6526, allocations: 3.049 MB / 1.495 GB, free: 11.56 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.6526, allocations: 8 kB / 1.495 GB, free: 11.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007399/0.66, allocations: 3.906 MB / 1.499 GB, free: 7.602 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.6601, allocations: 16 kB / 1.499 GB, free: 7.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.6601, allocations: 20 kB / 1.499 GB, free: 7.566 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.6628, allocations: 0.9319 MB / 1.5 GB, free: 6.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.6646, allocations: 431.3 kB / 1.5 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.6891, allocations: 22.77 MB / 1.523 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.6913, allocations: 123.9 kB / 1.523 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.6916, allocations: 100 kB / 1.523 GB, free: 13.5 MB / 1.232 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.003045/0.6947, allocations: 1.652 MB / 1.524 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.6953, allocations: 262.4 kB / 1.525 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/0.7015, allocations: 3.232 MB / 1.528 GB, free: 8.305 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.7015, allocations: 16 kB / 1.528 GB, free: 8.289 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.7015, allocations: 8 kB / 1.528 GB, free: 8.281 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.7015, allocations: 11.97 kB / 1.528 GB, free: 8.27 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.7151, allocations: 7.533 MB / 1.535 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.7151, allocations: 4 kB / 1.535 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7161, allocations: 219.6 kB / 1.535 GB, free: 368 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.7187, allocations: 0.8889 MB / 1.536 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.7188, allocations: 32 kB / 1.536 GB, free: 15.4 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/0.7425, allocations: 22.76 MB / 1.559 GB, free: 6.961 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7425, allocations: 4 kB / 1.559 GB, free: 6.957 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/0.7487, allocations: 3.361 MB / 1.562 GB, free: 3.484 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.75, allocations: 0.5424 MB / 1.562 GB, free: 2.922 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.7503, allocations: 32 kB / 1.562 GB, free: 2.891 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7515, allocations: 99.8 kB / 1.563 GB, free: 2.793 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/0.7519, allocations: 141 kB / 1.563 GB, free: 2.656 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.752, allocations: 48 kB / 1.563 GB, free: 2.609 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001894/0.7539, allocations: 1.221 MB / 1.564 GB, free: 1.375 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7539, allocations: 4 kB / 1.564 GB, free: 1.371 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003368/0.7573, allocations: 0.9062 MB / 1.565 GB, free: 476 kB / 1.264 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003279/0.7576, allocations: 159 kB / 1.565 GB, free: 308 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.7648, allocations: 4.283 MB / 1.569 GB, free: 11.86 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.619e-06/0.7648, allocations: 1 kB / 1.569 GB, free: 11.86 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/0.7696, allocations: 2.909 MB / 1.572 GB, free: 8.797 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/0.7735, allocations: 0.8338 MB / 1.573 GB, free: 7.98 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.7892, allocations: 7.716 MB / 1.58 GB, free: 164 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004131/0.7933, allocations: 3.209 MB / 1.583 GB, free: 12.92 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001889/0.7952, allocations: 0.5293 MB / 1.584 GB, free: 12.39 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.7956, allocations: 143.4 kB / 1.584 GB, free: 12.25 MB / 1.295 GB Notification: Performance of SimCode: time 7.92e-07/0.7956, allocations: 0 / 1.584 GB, free: 12.25 MB / 1.295 GB Notification: Performance of Templates: time 0.7428/1.538, allocations: 42.17 MB / 1.625 GB, free: 267.9 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.519269743934274]