Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002261/0.002261, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002206/0.002206, allocations: 217.7 kB / 22.3 MB, free: 5.281 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.605/1.605, allocations: 230.6 MB / 256.1 MB, free: 7.738 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.384/3.384, allocations: 0.5108 GB / 0.8159 GB, free: 17.77 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,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_latest_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_latest_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.00216/0.00216, allocations: 68.23 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 181.9 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03791/0.4004, allocations: 29.28 MB / 1.393 GB, free: 112 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.4238, allocations: 13.2 MB / 1.406 GB, free: 2.871 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/0.4276, allocations: 194.5 kB / 1.406 GB, free: 2.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009719/0.4373, allocations: 3.21 MB / 1.409 GB, free: 15.46 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.447, allocations: 2.754 MB / 1.412 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006135/0.4531, allocations: 2.018 MB / 1.414 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.4643, allocations: 7.626 MB / 1.421 GB, free: 3.023 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007508/0.4718, allocations: 4.589 MB / 1.425 GB, free: 14.31 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006557/0.4784, allocations: 3.669 MB / 1.429 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/0.4846, allocations: 3.277 MB / 1.432 GB, free: 7.344 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.4863, allocations: 0.5938 MB / 1.433 GB, free: 6.75 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.4898, allocations: 1.404 MB / 1.434 GB, free: 5.344 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.4931, allocations: 2.416 MB / 1.437 GB, free: 2.922 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005259/0.4983, allocations: 2.334 MB / 1.439 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.5123, allocations: 9.512 MB / 1.448 GB, free: 7.035 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5123, allocations: 0 / 1.448 GB, free: 7.035 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5123, allocations: 0 / 1.448 GB, free: 7.035 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003468/0.5127, allocations: 0 / 1.448 GB, free: 7.035 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01602/0.5287, allocations: 5.176 MB / 1.453 GB, free: 1.793 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5287, allocations: 12.03 kB / 1.453 GB, free: 1.781 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006492/0.5352, allocations: 1.024 MB / 1.454 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007338/0.5425, allocations: 3.013 MB / 1.457 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.5428, allocations: 316.8 kB / 1.457 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.544, allocations: 420.1 kB / 1.458 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.558, allocations: 7.366 MB / 1.465 GB, free: 5.133 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.5581, allocations: 23.83 kB / 1.465 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.5586, allocations: 184 kB / 1.465 GB, free: 4.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009354/0.5595, allocations: 372 kB / 1.466 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.5698, allocations: 5.11 MB / 1.471 GB, free: 15.43 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.6015, allocations: 19.05 MB / 1.489 GB, free: 11.87 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.6036, allocations: 1.301 MB / 1.49 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.6054, allocations: 1.239 MB / 1.492 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.309e-05/0.6055, allocations: 13.31 kB / 1.492 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.6056, allocations: 63.73 kB / 1.492 GB, free: 9.238 MB / 1.186 GB Notification: Performance of pre-optimization done (n=130): time 3.757e-06/0.6056, allocations: 0 / 1.492 GB, free: 9.238 MB / 1.186 GB Notification: Performance of matching and sorting (n=199): time 0.0933/0.6989, allocations: 22.83 MB / 1.514 GB, free: 2.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.699, allocations: 73.41 kB / 1.514 GB, free: 2.254 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.7019, allocations: 1.853 MB / 1.516 GB, free: 380 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/0.7022, allocations: 57.7 kB / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.7041, allocations: 2.069 MB / 1.518 GB, free: 14.22 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008492/0.7049, allocations: 0.7087 MB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000762/0.7057, allocations: 416.4 kB / 1.519 GB, free: 13.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7058, allocations: 305.1 kB / 1.519 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.7082, allocations: 1.43 MB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.7111, allocations: 2.013 MB / 1.523 GB, free: 9.102 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/0.7166, allocations: 3.7 MB / 1.526 GB, free: 5.164 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7166, allocations: 4 kB / 1.526 GB, free: 5.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01223/0.7288, allocations: 5.569 MB / 1.532 GB, free: 15.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.7288, allocations: 12 kB / 1.532 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.7289, allocations: 24 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007293/0.7362, allocations: 2.08 MB / 1.534 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.7379, allocations: 375.4 kB / 1.534 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04603/0.7839, allocations: 35.89 MB / 1.569 GB, free: 7.246 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.7865, allocations: 131.9 kB / 1.569 GB, free: 7.117 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.7867, allocations: 84 kB / 1.569 GB, free: 7.035 MB / 1.264 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.002646/0.7893, allocations: 1.512 MB / 1.571 GB, free: 5.512 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006597/0.79, allocations: 274.3 kB / 1.571 GB, free: 5.242 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.8016, allocations: 5.13 MB / 1.576 GB, free: 36 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.8016, allocations: 20 kB / 1.576 GB, free: 16 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-05/0.8016, allocations: 16 kB / 1.576 GB, free: 0 / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.146e-05/0.8017, allocations: 8.031 kB / 1.576 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.8199, allocations: 8.445 MB / 1.584 GB, free: 7.363 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.8199, allocations: 8 kB / 1.584 GB, free: 7.355 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.8209, allocations: 215.6 kB / 1.585 GB, free: 7.145 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006461/0.8274, allocations: 1.839 MB / 1.586 GB, free: 5.25 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/0.8277, allocations: 36 kB / 1.587 GB, free: 5.215 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7546/1.582, allocations: 34.88 MB / 1.621 GB, free: 209.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.582, allocations: 11.25 kB / 1.621 GB, free: 209.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009491/1.592, allocations: 4.827 MB / 1.625 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.593, allocations: 0.5264 MB / 1.626 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/1.594, allocations: 43.09 kB / 1.626 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.595, allocations: 128.9 kB / 1.626 GB, free: 208.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/1.596, allocations: 202.9 kB / 1.626 GB, free: 208.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.596, allocations: 62.53 kB / 1.626 GB, free: 208.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001695/1.598, allocations: 1.203 MB / 1.627 GB, free: 208.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/1.598, allocations: 0 / 1.627 GB, free: 208.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004039/1.602, allocations: 1.044 MB / 1.628 GB, free: 208.1 MB / 1.295 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.0003255/1.602, allocations: 164.9 kB / 1.629 GB, free: 207.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009091/1.611, allocations: 6.009 MB / 1.634 GB, free: 204.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.611, allocations: 2.531 kB / 1.634 GB, free: 204.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00628/1.617, allocations: 4.283 MB / 1.639 GB, free: 201.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/1.621, allocations: 0.9123 MB / 1.64 GB, free: 201.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.635, allocations: 8.258 MB / 1.648 GB, free: 197.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/1.638, allocations: 2.579 MB / 1.65 GB, free: 197 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00184/1.64, allocations: 0.4945 MB / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/1.641, allocations: 144.2 kB / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.182e-06/1.641, allocations: 0 / 1.651 GB, free: 196.9 MB / 1.295 GB Notification: Performance of Templates: time 0.07783/1.718, allocations: 60.55 MB / 1.71 GB, free: 154.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.183170574717224]