Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001635/0.001635, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001967/0.001967, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.019/3.019, allocations: 0.5003 GB / 0.8026 GB, free: 6.688 MB / 0.6387 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",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.002025/0.002025, allocations: 75.89 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8672, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01459/0.8818, allocations: 15 MB / 1.355 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.8965, allocations: 10.5 MB / 1.365 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.8983, allocations: 81.38 kB / 1.365 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005/0.9033, allocations: 1.717 MB / 1.367 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.9115, allocations: 1.845 MB / 1.369 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.9149, allocations: 0.7548 MB / 1.369 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006608/0.9215, allocations: 2.759 MB / 1.372 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.9242, allocations: 1.128 MB / 1.373 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.9275, allocations: 1.543 MB / 1.375 GB, free: 9.953 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.9304, allocations: 1.237 MB / 1.376 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000652/0.931, allocations: 161.8 kB / 1.376 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.9335, allocations: 0.8032 MB / 1.377 GB, free: 9.207 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.9346, allocations: 0.6223 MB / 1.377 GB, free: 8.906 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00248/0.9371, allocations: 0.9488 MB / 1.378 GB, free: 8.324 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.9431, allocations: 2.775 MB / 1.381 GB, free: 7.348 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9431, allocations: 0 / 1.381 GB, free: 7.348 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9431, allocations: 4 kB / 1.381 GB, free: 7.344 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001022/0.9432, allocations: 1.188 kB / 1.381 GB, free: 7.344 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006502/0.9497, allocations: 2.222 MB / 1.383 GB, free: 5.941 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.9497, allocations: 9.75 kB / 1.383 GB, free: 5.941 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.965e-05/0.9498, allocations: 39.3 kB / 1.383 GB, free: 5.93 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004138/0.9502, allocations: 190.1 kB / 1.383 GB, free: 5.812 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.9634, allocations: 2.123 MB / 1.386 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.9671, allocations: 1.315 MB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.9672, allocations: 93.52 kB / 1.387 GB, free: 4.887 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.9675, allocations: 115.4 kB / 1.387 GB, free: 4.848 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.9748, allocations: 2.672 MB / 1.39 GB, free: 3.773 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.503e-05/0.9748, allocations: 13.17 kB / 1.39 GB, free: 3.766 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.9751, allocations: 54.17 kB / 1.39 GB, free: 3.727 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007541/0.9758, allocations: 190.7 kB / 1.39 GB, free: 3.711 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009167/0.985, allocations: 2.792 MB / 1.393 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/1.004, allocations: 10.47 MB / 1.403 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007392/1.011, allocations: 2.259 MB / 1.405 GB, free: 9.109 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.015, allocations: 1.203 MB / 1.406 GB, free: 8.496 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.015, allocations: 10.62 kB / 1.406 GB, free: 8.496 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/1.015, allocations: 47.89 kB / 1.406 GB, free: 8.441 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.757e-06/1.015, allocations: 0 / 1.406 GB, free: 8.441 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.06623/1.081, allocations: 16.44 MB / 1.422 GB, free: 384 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/1.081, allocations: 67.5 kB / 1.422 GB, free: 316 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/1.083, allocations: 1.177 MB / 1.424 GB, free: 15.66 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.084, allocations: 56.36 kB / 1.424 GB, free: 15.61 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007039/1.084, allocations: 0.7551 MB / 1.424 GB, free: 14.94 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008141/1.085, allocations: 0.544 MB / 1.425 GB, free: 14.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/1.086, allocations: 288.8 kB / 1.425 GB, free: 14.3 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.086, allocations: 301.1 kB / 1.425 GB, free: 14 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/1.09, allocations: 1.511 MB / 1.427 GB, free: 13.21 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.094, allocations: 1.785 MB / 1.429 GB, free: 12.11 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00864/1.103, allocations: 3.373 MB / 1.432 GB, free: 9.398 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/1.103, allocations: 4 kB / 1.432 GB, free: 9.395 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01548/1.118, allocations: 5.203 MB / 1.437 GB, free: 4.152 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.119, allocations: 8 kB / 1.437 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.119, allocations: 8.875 kB / 1.437 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007463/1.126, allocations: 1.885 MB / 1.439 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/1.128, allocations: 419.2 kB / 1.439 GB, free: 1.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03438/1.163, allocations: 24.16 MB / 1.463 GB, free: 8.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.166, allocations: 307.5 kB / 1.463 GB, free: 8.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.166, allocations: 68.03 kB / 1.463 GB, free: 8.18 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.167, allocations: 465.4 kB / 1.464 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.167, allocations: 182.9 kB / 1.464 GB, free: 7.535 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.183, allocations: 5.249 MB / 1.469 GB, free: 2.238 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/1.183, allocations: 19.94 kB / 1.469 GB, free: 2.219 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/1.183, allocations: 20 kB / 1.469 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.183, allocations: 11.97 kB / 1.469 GB, free: 2.188 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.202, allocations: 7.36 MB / 1.476 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.202, allocations: 4 kB / 1.476 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.203, allocations: 351.4 kB / 1.477 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006527/1.21, allocations: 1.705 MB / 1.478 GB, free: 8.633 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.21, allocations: 43.91 kB / 1.478 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03184/1.242, allocations: 23.32 MB / 1.501 GB, free: 156 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.242, allocations: 4 kB / 1.501 GB, free: 152 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.256, allocations: 4.829 MB / 1.506 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.257, allocations: 499.7 kB / 1.506 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.258, allocations: 32 kB / 1.506 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.26, allocations: 319.5 kB / 1.507 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/1.261, allocations: 153 kB / 1.507 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.261, allocations: 55.95 kB / 1.507 GB, free: 10.17 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001238/1.262, allocations: 0.786 MB / 1.507 GB, free: 9.387 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.262, allocations: 0 / 1.507 GB, free: 9.387 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002333/1.264, allocations: 0.6562 MB / 1.508 GB, free: 8.73 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01391/1.278, allocations: 5.419 MB / 1.513 GB, free: 3.223 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.291, allocations: 4.913 MB / 1.518 GB, free: 14.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.291, allocations: 4 kB / 1.518 GB, free: 14.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007834/1.299, allocations: 3.273 MB / 1.521 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/1.301, allocations: 0.5547 MB / 1.522 GB, free: 10.29 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05316/1.355, allocations: 21.78 MB / 1.543 GB, free: 4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.356, allocations: 1.564 MB / 1.545 GB, free: 2.402 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001457/1.358, allocations: 382.4 kB / 1.545 GB, free: 2.023 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009926/1.359, allocations: 0.6593 MB / 1.546 GB, free: 1.367 MB / 1.217 GB Notification: Performance of SimCode: time 7.61e-07/1.359, allocations: 0 / 1.546 GB, free: 1.367 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.5, allocations: 59.18 MB / 1.604 GB, free: 6.891 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.11/22.61, allocations: 12.06 kB / 1.604 GB, free: 6.879 MB / 1.279 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 29.50465807999717]