Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001639/0.001639, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001827/0.001827, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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,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_11_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_11_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.002038/0.002038, allocations: 67.17 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03837/0.3554, allocations: 32.16 MB / 1.316 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.379, allocations: 14.02 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005339/0.3843, allocations: 198.4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009581/0.3939, allocations: 3.339 MB / 1.333 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008907/0.4028, allocations: 2.775 MB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.409, allocations: 2.068 MB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.4207, allocations: 7.622 MB / 1.345 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007839/0.4286, allocations: 4.654 MB / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006993/0.4355, allocations: 3.642 MB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/0.4424, allocations: 3.5 MB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.4446, allocations: 0.5976 MB / 1.357 GB, free: 336 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.4498, allocations: 1.517 MB / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004637/0.4544, allocations: 2.416 MB / 1.361 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006874/0.4613, allocations: 2.875 MB / 1.364 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.4766, allocations: 9.473 MB / 1.373 GB, free: 15.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4766, allocations: 0 / 1.373 GB, free: 15.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4766, allocations: 0 / 1.373 GB, free: 15.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003043/0.4769, allocations: 0 / 1.373 GB, free: 15.99 MB / 1.076 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.01402/0.4909, allocations: 5.171 MB / 1.378 GB, free: 10.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.491, allocations: 8.031 kB / 1.378 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.4974, allocations: 1.032 MB / 1.379 GB, free: 9.715 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/0.5055, allocations: 3.006 MB / 1.382 GB, free: 6.617 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.5058, allocations: 316.8 kB / 1.383 GB, free: 6.305 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/0.5074, allocations: 420 kB / 1.383 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.5228, allocations: 6.752 MB / 1.39 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.5229, allocations: 27.77 kB / 1.39 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005791/0.5235, allocations: 187.9 kB / 1.39 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008922/0.5244, allocations: 368 kB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.5365, allocations: 5.118 MB / 1.395 GB, free: 9.156 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.5808, allocations: 30.27 MB / 1.425 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.5832, allocations: 1.309 MB / 1.426 GB, free: 6.805 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.585, allocations: 1.25 MB / 1.427 GB, free: 5.551 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.5851, allocations: 13.31 kB / 1.427 GB, free: 5.535 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.5852, allocations: 47.88 kB / 1.427 GB, free: 5.48 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.005e-06/0.5852, allocations: 0 / 1.427 GB, free: 5.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.08399/0.6691, allocations: 22.85 MB / 1.45 GB, free: 14.57 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.6692, allocations: 73.41 kB / 1.45 GB, free: 14.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.6724, allocations: 2.063 MB / 1.452 GB, free: 12.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.6727, allocations: 61.7 kB / 1.452 GB, free: 12.34 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.6744, allocations: 2.066 MB / 1.454 GB, free: 10.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008288/0.6753, allocations: 0.7126 MB / 1.454 GB, free: 9.535 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.676, allocations: 408.4 kB / 1.455 GB, free: 9.129 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6762, allocations: 309 kB / 1.455 GB, free: 8.824 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.6784, allocations: 1.433 MB / 1.457 GB, free: 7.387 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.6811, allocations: 2.01 MB / 1.459 GB, free: 5.129 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005203/0.6863, allocations: 3.696 MB / 1.462 GB, free: 1.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.6863, allocations: 8 kB / 1.462 GB, free: 1.188 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01159/0.6979, allocations: 5.6 MB / 1.468 GB, free: 11.52 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.6979, allocations: 12 kB / 1.468 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.698, allocations: 20 kB / 1.468 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/0.7047, allocations: 2.08 MB / 1.47 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.7064, allocations: 383.3 kB / 1.47 GB, free: 8.977 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04285/0.7493, allocations: 36.62 MB / 1.506 GB, free: 2.285 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.7517, allocations: 127.9 kB / 1.506 GB, free: 2.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.7519, allocations: 92 kB / 1.506 GB, free: 2.07 MB / 1.201 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.002662/0.7546, allocations: 1.5 MB / 1.507 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006325/0.7552, allocations: 298.2 kB / 1.508 GB, free: 272 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.7659, allocations: 5.145 MB / 1.513 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.7659, allocations: 20 kB / 1.513 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.146e-05/0.766, allocations: 16 kB / 1.513 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.766, allocations: 11.95 kB / 1.513 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.7849, allocations: 9.578 MB / 1.522 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.7849, allocations: 7.984 kB / 1.522 GB, free: 1.211 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.7858, allocations: 219.6 kB / 1.522 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/0.7916, allocations: 1.838 MB / 1.524 GB, free: 15.1 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.7918, allocations: 47.92 kB / 1.524 GB, free: 15.05 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04051/0.8323, allocations: 35.62 MB / 1.559 GB, free: 9.359 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.8323, allocations: 7.938 kB / 1.559 GB, free: 9.352 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009679/0.842, allocations: 4.867 MB / 1.564 GB, free: 4.324 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.8437, allocations: 0.5565 MB / 1.564 GB, free: 3.766 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/0.8442, allocations: 40 kB / 1.564 GB, free: 3.727 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.8455, allocations: 131.8 kB / 1.564 GB, free: 3.598 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006327/0.8461, allocations: 201.5 kB / 1.565 GB, free: 3.398 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.8463, allocations: 60.14 kB / 1.565 GB, free: 3.34 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002094/0.8484, allocations: 1.382 MB / 1.566 GB, free: 1.949 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8484, allocations: 0 / 1.566 GB, free: 1.949 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00363/0.852, allocations: 1.047 MB / 1.567 GB, free: 0.9023 MB / 1.264 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.0003298/0.8523, allocations: 165.7 kB / 1.567 GB, free: 0.7344 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.8627, allocations: 6.01 MB / 1.573 GB, free: 10.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/0.8627, allocations: 4 kB / 1.573 GB, free: 10.49 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007462/0.8702, allocations: 4.285 MB / 1.577 GB, free: 5.973 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.8745, allocations: 0.9999 MB / 1.578 GB, free: 5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.8909, allocations: 8.827 MB / 1.587 GB, free: 12.08 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004297/0.8952, allocations: 3.179 MB / 1.59 GB, free: 8.867 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/0.8959, allocations: 171.4 kB / 1.59 GB, free: 8.699 MB / 1.295 GB Notification: Performance of SimCode: time 1.633e-06/0.8959, allocations: 0 / 1.59 GB, free: 8.699 MB / 1.295 GB Notification: Performance of Templates: time 1.009/1.905, allocations: 465.2 MB / 2.044 GB, free: 15.8 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 28.13896545500029]