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.001736/0.001736, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002151/0.002151, allocations: 215 kB / 22.25 MB, free: 5.082 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.035 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.145/3.145, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.002016/0.002016, allocations: 70.56 kB / 1.177 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 180.2 MB / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01925/0.3453, allocations: 15.35 MB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3614, allocations: 10.76 MB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3628, allocations: 91.19 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.3675, allocations: 1.768 MB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005482/0.373, allocations: 1.852 MB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.3751, allocations: 0.7588 MB / 1.383 GB, free: 9.898 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004526/0.3796, allocations: 2.758 MB / 1.385 GB, free: 7.129 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.3819, allocations: 1.207 MB / 1.387 GB, free: 5.887 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.3847, allocations: 1.719 MB / 1.388 GB, free: 4.164 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.3868, allocations: 1.117 MB / 1.389 GB, free: 3.043 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004504/0.3872, allocations: 156 kB / 1.39 GB, free: 2.891 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3891, allocations: 0.7954 MB / 1.39 GB, free: 2.094 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008608/0.39, allocations: 0.6191 MB / 1.391 GB, free: 1.473 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.3915, allocations: 0.9367 MB / 1.392 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.3955, allocations: 2.747 MB / 1.394 GB, free: 13.77 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3955, allocations: 4 kB / 1.394 GB, free: 13.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3955, allocations: 0 / 1.394 GB, free: 13.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.738e-05/0.3956, allocations: 0 / 1.394 GB, free: 13.77 MB / 1.092 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.004844/0.4004, allocations: 2.151 MB / 1.397 GB, free: 11.58 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4005, allocations: 8.031 kB / 1.397 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.4007, allocations: 194.4 kB / 1.397 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.4118, allocations: 2.117 MB / 1.399 GB, free: 9.25 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.4145, allocations: 1.189 MB / 1.4 GB, free: 8.012 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.4146, allocations: 82.69 kB / 1.4 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.4148, allocations: 123.9 kB / 1.4 GB, free: 7.809 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005513/0.4203, allocations: 2.63 MB / 1.403 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.4204, allocations: 11.89 kB / 1.403 GB, free: 5.031 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.4205, allocations: 51.98 kB / 1.403 GB, free: 4.98 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006191/0.4212, allocations: 190.1 kB / 1.403 GB, free: 4.793 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007333/0.4285, allocations: 2.795 MB / 1.406 GB, free: 1.988 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.4437, allocations: 10.36 MB / 1.416 GB, free: 7.051 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/0.4499, allocations: 2.187 MB / 1.418 GB, free: 4.859 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.4528, allocations: 1.202 MB / 1.419 GB, free: 3.656 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.4529, allocations: 12.98 kB / 1.419 GB, free: 3.641 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.453, allocations: 47.5 kB / 1.419 GB, free: 3.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 2.505e-06/0.453, allocations: 3.938 kB / 1.419 GB, free: 3.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=153): time 0.05748/0.5104, allocations: 15.99 MB / 1.435 GB, free: 3.547 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.5105, allocations: 68.72 kB / 1.435 GB, free: 3.465 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5121, allocations: 1.18 MB / 1.436 GB, free: 2.273 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.5123, allocations: 53.7 kB / 1.436 GB, free: 2.215 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/0.5129, allocations: 0.7607 MB / 1.437 GB, free: 1.449 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.5135, allocations: 0.5383 MB / 1.437 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005829/0.5141, allocations: 287.5 kB / 1.438 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5142, allocations: 309.1 kB / 1.438 GB, free: 320 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.5177, allocations: 1.51 MB / 1.439 GB, free: 14.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.5215, allocations: 1.776 MB / 1.441 GB, free: 12.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/0.5289, allocations: 3.373 MB / 1.444 GB, free: 9.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5289, allocations: 0 / 1.444 GB, free: 9.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01368/0.5426, allocations: 5.207 MB / 1.45 GB, free: 4.215 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.5426, allocations: 11.98 kB / 1.45 GB, free: 4.203 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.5426, allocations: 8.875 kB / 1.45 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007187/0.5498, allocations: 1.88 MB / 1.451 GB, free: 2.293 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.5519, allocations: 419.2 kB / 1.452 GB, free: 1.883 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/0.5834, allocations: 23.32 MB / 1.475 GB, free: 9.652 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.5859, allocations: 307.5 kB / 1.475 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.5862, allocations: 72.06 kB / 1.475 GB, free: 9.281 MB / 1.17 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.0009896/0.5872, allocations: 465.4 kB / 1.475 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.5877, allocations: 186.9 kB / 1.476 GB, free: 8.633 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.6015, allocations: 5.257 MB / 1.481 GB, free: 3.328 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.6016, allocations: 12 kB / 1.481 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-05/0.6016, allocations: 20 kB / 1.481 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.6016, allocations: 11.97 kB / 1.481 GB, free: 3.285 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.6197, allocations: 7.32 MB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.6197, allocations: 4 kB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.6215, allocations: 351.4 kB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006281/0.6278, allocations: 1.7 MB / 1.49 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/0.628, allocations: 47.91 kB / 1.49 GB, free: 9.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02988/0.6579, allocations: 22.51 MB / 1.512 GB, free: 2.309 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6579, allocations: 4 kB / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.6705, allocations: 4.833 MB / 1.517 GB, free: 13.39 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.6717, allocations: 422.5 kB / 1.517 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/0.6721, allocations: 35.98 kB / 1.517 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/0.6743, allocations: 311.5 kB / 1.517 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/0.6748, allocations: 161.3 kB / 1.518 GB, free: 12.47 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.6749, allocations: 55.97 kB / 1.518 GB, free: 12.42 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001227/0.6761, allocations: 0.7899 MB / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6761, allocations: 0 / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002098/0.6782, allocations: 0.6562 MB / 1.519 GB, free: 10.97 MB / 1.217 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.01284/0.6911, allocations: 5.413 MB / 1.524 GB, free: 5.465 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01173/0.7028, allocations: 4.921 MB / 1.529 GB, free: 452 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.7028, allocations: 7.875 kB / 1.529 GB, free: 444 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007322/0.7101, allocations: 3.273 MB / 1.532 GB, free: 13.05 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.7129, allocations: 0.5544 MB / 1.533 GB, free: 12.52 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04817/0.761, allocations: 21.79 MB / 1.554 GB, free: 6.23 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.7626, allocations: 1.564 MB / 1.556 GB, free: 4.625 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001424/0.764, allocations: 378.4 kB / 1.556 GB, free: 4.25 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009553/0.7649, allocations: 0.6632 MB / 1.557 GB, free: 3.586 MB / 1.248 GB Notification: Performance of SimCode: time 1.413e-06/0.7649, allocations: 0 / 1.557 GB, free: 3.586 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7397/1.505, allocations: 60.77 MB / 1.616 GB, free: 239.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.96/23.47, allocations: 9.375 kB / 1.616 GB, free: 239.4 MB / 1.295 GB " [Timeout remaining time 276] (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: 30.24495640397072]