Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001523/0.001523, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002122/0.002122, allocations: 215.8 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8108 GB, free: 22.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002111/0.002111, allocations: 62.94 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0413/0.4237, allocations: 34.27 MB / 1.388 GB, free: 5.633 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.4443, allocations: 10.69 MB / 1.398 GB, free: 10.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/0.4485, allocations: 198.5 kB / 1.398 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.4592, allocations: 3.89 MB / 1.402 GB, free: 6.816 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007061/0.4663, allocations: 1.952 MB / 1.404 GB, free: 4.855 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006828/0.4731, allocations: 2.195 MB / 1.406 GB, free: 2.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.4851, allocations: 7.323 MB / 1.413 GB, free: 11.31 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009105/0.4942, allocations: 5.158 MB / 1.418 GB, free: 6.039 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/0.5013, allocations: 3.272 MB / 1.421 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007429/0.5088, allocations: 3.676 MB / 1.425 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.5106, allocations: 0.6484 MB / 1.426 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/0.5156, allocations: 1.81 MB / 1.427 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004113/0.5197, allocations: 2.603 MB / 1.43 GB, free: 10 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006479/0.5262, allocations: 2.906 MB / 1.433 GB, free: 7.082 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.5421, allocations: 10.13 MB / 1.443 GB, free: 12.92 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5421, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5421, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003771/0.5425, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.139 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.01642/0.5589, allocations: 5.06 MB / 1.448 GB, free: 7.797 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.559, allocations: 8.031 kB / 1.448 GB, free: 7.789 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006264/0.5652, allocations: 0.9774 MB / 1.449 GB, free: 6.809 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008294/0.5735, allocations: 2.999 MB / 1.452 GB, free: 3.742 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.574, allocations: 349.7 kB / 1.452 GB, free: 3.398 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.5761, allocations: 468.2 kB / 1.452 GB, free: 2.941 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.5985, allocations: 7.663 MB / 1.46 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003381/0.5988, allocations: 27.83 kB / 1.46 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/0.6006, allocations: 200 kB / 1.46 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004839/0.601, allocations: 312.9 kB / 1.46 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.6152, allocations: 5.714 MB / 1.466 GB, free: 4.668 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05116/0.6663, allocations: 34.56 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.6693, allocations: 1.557 MB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.671, allocations: 1.128 MB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.6711, allocations: 13.31 kB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.6711, allocations: 51.81 kB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/0.6711, allocations: 0 / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=136): time 0.01431/0.6854, allocations: 6.207 MB / 1.508 GB, free: 5.867 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6855, allocations: 76.66 kB / 1.508 GB, free: 5.781 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.6877, allocations: 1.484 MB / 1.51 GB, free: 4.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6878, allocations: 45.7 kB / 1.51 GB, free: 4.199 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.6895, allocations: 2.065 MB / 1.512 GB, free: 2.113 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.69, allocations: 0.4996 MB / 1.512 GB, free: 1.609 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/0.6906, allocations: 355.3 kB / 1.513 GB, free: 1.254 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6907, allocations: 305.1 kB / 1.513 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.6921, allocations: 0.9096 MB / 1.514 GB, free: 44 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.6943, allocations: 1.601 MB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.698, allocations: 2.729 MB / 1.518 GB, free: 11.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.6981, allocations: 8 kB / 1.518 GB, free: 11.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006845/0.7049, allocations: 3.516 MB / 1.522 GB, free: 7.52 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.7049, allocations: 16.17 kB / 1.522 GB, free: 7.504 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.705, allocations: 31.98 kB / 1.522 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.7078, allocations: 0.8959 MB / 1.523 GB, free: 6.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7089, allocations: 347.4 kB / 1.523 GB, free: 6.199 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.7332, allocations: 21.9 MB / 1.544 GB, free: 14.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.735, allocations: 99.95 kB / 1.544 GB, free: 14.83 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.7351, allocations: 84 kB / 1.544 GB, free: 14.75 MB / 1.248 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.003079/0.7382, allocations: 1.613 MB / 1.546 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/0.7386, allocations: 214.9 kB / 1.546 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/0.7442, allocations: 2.967 MB / 1.549 GB, free: 9.898 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.7442, allocations: 15.98 kB / 1.549 GB, free: 9.883 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/0.7442, allocations: 12 kB / 1.549 GB, free: 9.871 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.7443, allocations: 11.91 kB / 1.549 GB, free: 9.859 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.7571, allocations: 7.293 MB / 1.556 GB, free: 2.344 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.7571, allocations: 4 kB / 1.556 GB, free: 2.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.7579, allocations: 175.7 kB / 1.556 GB, free: 2.168 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.7604, allocations: 0.8184 MB / 1.557 GB, free: 1.312 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.7605, allocations: 32 kB / 1.557 GB, free: 1.281 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/0.7827, allocations: 20.72 MB / 1.578 GB, free: 11.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.7827, allocations: 11.94 kB / 1.578 GB, free: 11.17 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/0.7884, allocations: 3.003 MB / 1.58 GB, free: 8.051 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.7896, allocations: 386.5 kB / 1.581 GB, free: 7.672 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.7898, allocations: 43.86 kB / 1.581 GB, free: 7.629 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.7906, allocations: 67.86 kB / 1.581 GB, free: 7.562 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.791, allocations: 144.5 kB / 1.581 GB, free: 7.418 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.7911, allocations: 36 kB / 1.581 GB, free: 7.383 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001492/0.7926, allocations: 0.9717 MB / 1.582 GB, free: 6.387 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.7926, allocations: 4 kB / 1.582 GB, free: 6.383 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002827/0.7954, allocations: 0.7891 MB / 1.583 GB, free: 5.594 MB / 1.279 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.0002447/0.7956, allocations: 144.4 kB / 1.583 GB, free: 5.445 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00619/0.8018, allocations: 3.91 MB / 1.587 GB, free: 1.379 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.8018, allocations: 4 kB / 1.587 GB, free: 1.375 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.8059, allocations: 2.67 MB / 1.589 GB, free: 14.55 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.8091, allocations: 0.7388 MB / 1.59 GB, free: 13.84 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.8242, allocations: 7.993 MB / 1.598 GB, free: 5.742 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/0.8282, allocations: 3.179 MB / 1.601 GB, free: 2.535 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.8288, allocations: 127.4 kB / 1.601 GB, free: 2.41 MB / 1.295 GB Notification: Performance of SimCode: time 1.382e-06/0.8288, allocations: 0 / 1.601 GB, free: 2.41 MB / 1.295 GB Notification: Performance of Templates: time 0.9689/1.798, allocations: 321.9 MB / 1.916 GB, free: 8.332 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.32817431699368]