Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001418/0.001418, allocations: 108.2 kB / 16.46 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.001483/0.001483, allocations: 216.2 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.164/3.164, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [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.00202/0.00202, allocations: 67.92 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04063/0.3756, allocations: 31.27 MB / 1.351 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.3981, allocations: 13.74 MB / 1.365 GB, free: 6.176 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.4008, allocations: 190.5 kB / 1.365 GB, free: 5.988 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008403/0.4092, allocations: 3.254 MB / 1.368 GB, free: 2.727 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008083/0.4173, allocations: 2.762 MB / 1.371 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006172/0.4235, allocations: 2.014 MB / 1.373 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01239/0.4359, allocations: 7.609 MB / 1.38 GB, free: 6.301 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009927/0.4458, allocations: 6.144 MB / 1.386 GB, free: 40 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.4526, allocations: 3.513 MB / 1.39 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006629/0.4592, allocations: 3.574 MB / 1.393 GB, free: 8.93 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.4611, allocations: 0.5938 MB / 1.394 GB, free: 8.336 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.4652, allocations: 1.517 MB / 1.395 GB, free: 6.816 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.4693, allocations: 2.424 MB / 1.398 GB, free: 4.387 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007045/0.4763, allocations: 2.89 MB / 1.4 GB, free: 1.484 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.4943, allocations: 9.473 MB / 1.41 GB, free: 7.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.4943, allocations: 4 kB / 1.41 GB, free: 7.977 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4943, allocations: 4 kB / 1.41 GB, free: 7.973 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003672/0.4946, allocations: 3.938 kB / 1.41 GB, free: 7.969 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01509/0.5097, allocations: 5.268 MB / 1.415 GB, free: 2.617 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5098, allocations: 11.98 kB / 1.415 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00158/0.5114, allocations: 0.6203 MB / 1.415 GB, free: 1.973 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006604/0.518, allocations: 1.02 MB / 1.416 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/0.5257, allocations: 3.101 MB / 1.419 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.526, allocations: 312.9 kB / 1.42 GB, free: 13.46 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.5273, allocations: 419.9 kB / 1.42 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5419, allocations: 6.799 MB / 1.427 GB, free: 5.957 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.542, allocations: 19.83 kB / 1.427 GB, free: 5.938 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005466/0.5426, allocations: 184 kB / 1.427 GB, free: 5.758 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000967/0.5435, allocations: 372 kB / 1.427 GB, free: 5.391 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.5547, allocations: 5.11 MB / 1.432 GB, free: 268 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04379/0.5985, allocations: 30.57 MB / 1.462 GB, free: 14.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.6007, allocations: 1.32 MB / 1.463 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.6026, allocations: 1.238 MB / 1.465 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.945e-05/0.6027, allocations: 13.31 kB / 1.465 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/0.6028, allocations: 55.88 kB / 1.465 GB, free: 12.29 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.256e-06/0.6028, allocations: 0 / 1.465 GB, free: 12.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.09192/0.6947, allocations: 23.08 MB / 1.487 GB, free: 5.086 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.6948, allocations: 73.41 kB / 1.487 GB, free: 5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.6982, allocations: 2.059 MB / 1.489 GB, free: 2.926 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000304/0.6985, allocations: 65.64 kB / 1.489 GB, free: 2.855 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.7002, allocations: 2.059 MB / 1.491 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008156/0.701, allocations: 0.7165 MB / 1.492 GB, free: 56 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007851/0.7018, allocations: 412.4 kB / 1.493 GB, free: 15.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7019, allocations: 309.1 kB / 1.493 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.7041, allocations: 1.433 MB / 1.494 GB, free: 13.9 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.7069, allocations: 2.01 MB / 1.496 GB, free: 11.64 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005269/0.7122, allocations: 3.688 MB / 1.5 GB, free: 7.711 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.7122, allocations: 4 kB / 1.5 GB, free: 7.707 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01195/0.7241, allocations: 5.603 MB / 1.505 GB, free: 2.035 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.7242, allocations: 12.97 kB / 1.505 GB, free: 2.023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/0.7242, allocations: 16 kB / 1.505 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007199/0.7314, allocations: 2.087 MB / 1.507 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.733, allocations: 379.4 kB / 1.508 GB, free: 15.49 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04595/0.779, allocations: 38.47 MB / 1.545 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.7814, allocations: 123.9 kB / 1.545 GB, free: 6.375 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/0.7816, allocations: 91.98 kB / 1.545 GB, free: 6.285 MB / 1.248 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.002566/0.7842, allocations: 1.501 MB / 1.547 GB, free: 4.773 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/0.7848, allocations: 302.1 kB / 1.547 GB, free: 4.477 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.7963, allocations: 5.137 MB / 1.552 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.7963, allocations: 27.98 kB / 1.552 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.817e-05/0.7963, allocations: 16 kB / 1.552 GB, free: 15.22 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.7964, allocations: 7.969 kB / 1.552 GB, free: 15.21 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/0.8164, allocations: 9.61 MB / 1.562 GB, free: 5.395 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.8164, allocations: 4 kB / 1.562 GB, free: 5.391 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/0.8173, allocations: 219.6 kB / 1.562 GB, free: 5.176 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.8236, allocations: 1.838 MB / 1.564 GB, free: 3.281 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.8237, allocations: 44 kB / 1.564 GB, free: 3.238 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04301/0.8668, allocations: 37.46 MB / 1.6 GB, free: 11.24 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.8668, allocations: 15.92 kB / 1.6 GB, free: 11.22 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.8771, allocations: 4.848 MB / 1.605 GB, free: 6.223 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.8787, allocations: 0.6279 MB / 1.606 GB, free: 5.574 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/0.8791, allocations: 43.94 kB / 1.606 GB, free: 5.531 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8806, allocations: 135.8 kB / 1.606 GB, free: 5.398 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007032/0.8813, allocations: 193.5 kB / 1.606 GB, free: 5.207 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.8815, allocations: 60 kB / 1.606 GB, free: 5.148 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002221/0.8837, allocations: 1.374 MB / 1.607 GB, free: 3.766 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8837, allocations: 0 / 1.607 GB, free: 3.766 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003623/0.8873, allocations: 1.051 MB / 1.608 GB, free: 2.715 MB / 1.311 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.602/1.489, allocations: 5.47 MB / 1.614 GB, free: 264.5 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.009578/1.499, allocations: 6.009 MB / 1.62 GB, free: 262.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.499, allocations: 2.156 kB / 1.62 GB, free: 262.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.005961/1.505, allocations: 4.286 MB / 1.624 GB, free: 260.2 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/1.509, allocations: 0.9973 MB / 1.625 GB, free: 260.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05223/1.561, allocations: 30.65 MB / 1.655 GB, free: 246.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003569/1.565, allocations: 3.123 MB / 1.658 GB, free: 245.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001968/1.567, allocations: 0.5224 MB / 1.658 GB, free: 245.6 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.569, allocations: 1.672 MB / 1.66 GB, free: 244.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.012e-06/1.569, allocations: 4 kB / 1.66 GB, free: 244.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/1.731, allocations: 88.74 MB / 1.747 GB, free: 166.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.48, allocations: 3.859 kB / 1.747 GB, free: 166.7 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.769522249000147]