Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00134/0.00134, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001501/0.001501, allocations: 214 kB / 22.24 MB, free: 5.258 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.793 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.31/3.31, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002442/0.002442, allocations: 71.42 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3294, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009612/0.339, allocations: 6.564 MB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005528/0.3445, allocations: 3.064 MB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.3451, allocations: 43.62 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.3479, allocations: 0.9513 MB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3492, allocations: 0.5129 MB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3503, allocations: 454.3 kB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.352, allocations: 1.229 MB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.3529, allocations: 0.5373 MB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/0.3537, allocations: 0.4904 MB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/0.3546, allocations: 0.5175 MB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3547, allocations: 64 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.3555, allocations: 343.3 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.3558, allocations: 315.1 kB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.3563, allocations: 382.2 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3579, allocations: 1.226 MB / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3579, allocations: 0 / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3579, allocations: 0 / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.3579, allocations: 4 kB / 1.38 GB, free: 13.36 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002181/0.3601, allocations: 1.119 MB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3601, allocations: 8.031 kB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3603, allocations: 126.7 kB / 1.381 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3619, allocations: 236.1 kB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.363, allocations: 0.5398 MB / 1.382 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.3631, allocations: 53.67 kB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3632, allocations: 60.36 kB / 1.382 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.365, allocations: 1.336 MB / 1.383 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.365, allocations: 11.94 kB / 1.383 GB, free: 9.641 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.3651, allocations: 27.98 kB / 1.383 GB, free: 9.613 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.3653, allocations: 85.25 kB / 1.383 GB, free: 9.531 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3666, allocations: 0.7465 MB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.372, allocations: 4.651 MB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.373, allocations: 0.5123 MB / 1.389 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.3734, allocations: 286 kB / 1.389 GB, free: 3.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3734, allocations: 4.438 kB / 1.389 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3735, allocations: 39 kB / 1.389 GB, free: 3.109 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.245e-06/0.3735, allocations: 0 / 1.389 GB, free: 3.109 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003891/0.3774, allocations: 1.682 MB / 1.391 GB, free: 1.406 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3774, allocations: 59.84 kB / 1.391 GB, free: 1.336 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.3781, allocations: 0.5819 MB / 1.392 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.3782, allocations: 37.64 kB / 1.392 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.3785, allocations: 424 kB / 1.392 GB, free: 292 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.3786, allocations: 182.5 kB / 1.392 GB, free: 108 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.3788, allocations: 126.6 kB / 1.392 GB, free: 15.97 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.379, allocations: 378.6 kB / 1.393 GB, free: 15.6 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.3794, allocations: 273.9 kB / 1.393 GB, free: 15.33 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.3801, allocations: 0.4891 MB / 1.393 GB, free: 14.75 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3812, allocations: 0.8084 MB / 1.394 GB, free: 13.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3812, allocations: 0 / 1.394 GB, free: 13.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001942/0.3831, allocations: 1.082 MB / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3831, allocations: 8 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3832, allocations: 8 kB / 1.395 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/0.384, allocations: 275.4 kB / 1.395 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.3845, allocations: 127.8 kB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.3917, allocations: 6.681 MB / 1.402 GB, free: 5.168 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.3923, allocations: 39.97 kB / 1.402 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3923, allocations: 28 kB / 1.402 GB, free: 5.102 MB / 1.092 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003681/0.3927, allocations: 253.6 kB / 1.402 GB, free: 4.844 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3928, allocations: 75.53 kB / 1.403 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.3945, allocations: 0.8808 MB / 1.403 GB, free: 3.863 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3945, allocations: 4 kB / 1.403 GB, free: 3.859 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3945, allocations: 4 kB / 1.403 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3945, allocations: 3.984 kB / 1.403 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.3972, allocations: 1.619 MB / 1.405 GB, free: 2.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.3972, allocations: 11.92 kB / 1.405 GB, free: 2.141 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.3975, allocations: 59.89 kB / 1.405 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.3982, allocations: 271.4 kB / 1.405 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.3983, allocations: 8 kB / 1.405 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/0.4052, allocations: 6.678 MB / 1.412 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4052, allocations: 3.984 kB / 1.412 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.4068, allocations: 0.9798 MB / 1.413 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.4071, allocations: 115.5 kB / 1.413 GB, free: 9.516 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.4072, allocations: 19.88 kB / 1.413 GB, free: 9.496 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.4076, allocations: 27.97 kB / 1.413 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.4077, allocations: 43.98 kB / 1.413 GB, free: 9.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4077, allocations: 19.98 kB / 1.413 GB, free: 9.406 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004642/0.4082, allocations: 391.1 kB / 1.413 GB, free: 9.031 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4082, allocations: 0 / 1.413 GB, free: 9.031 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007809/0.409, allocations: 220 kB / 1.414 GB, free: 8.816 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.4109, allocations: 1.537 MB / 1.415 GB, free: 7.219 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.413, allocations: 1.232 MB / 1.416 GB, free: 5.941 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.413, allocations: 0 / 1.416 GB, free: 5.941 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.4143, allocations: 0.862 MB / 1.417 GB, free: 5.027 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4153, allocations: 222.5 kB / 1.417 GB, free: 4.812 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009045/0.4243, allocations: 6.403 MB / 1.424 GB, free: 14.07 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.4248, allocations: 417 kB / 1.424 GB, free: 13.63 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004087/0.4252, allocations: 122 kB / 1.424 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.4255, allocations: 247.4 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of SimCode: time 8.92e-07/0.4255, allocations: 0 / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0627/0.4882, allocations: 19.36 MB / 1.443 GB, free: 10.33 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.48, allocations: 4.734 kB / 1.443 GB, free: 10.33 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 19.2265907083638]