Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00192/0.00192, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002679/0.002679, allocations: 214.7 kB / 23.04 MB, free: 5.078 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.024/3.024, allocations: 0.49 GB / 0.7959 GB, free: 33.56 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_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.002094/0.002094, allocations: 65.12 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3149, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02032/0.3352, allocations: 15.35 MB / 1.342 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3522, allocations: 10.75 MB / 1.352 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.3535, allocations: 75.31 kB / 1.352 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0048/0.3583, allocations: 1.777 MB / 1.354 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.3635, allocations: 1.841 MB / 1.356 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.3656, allocations: 0.7716 MB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004234/0.3698, allocations: 2.766 MB / 1.359 GB, free: 0.582 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.372, allocations: 1.207 MB / 1.36 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.3747, allocations: 1.551 MB / 1.362 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.377, allocations: 1.238 MB / 1.363 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004503/0.3774, allocations: 160 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3792, allocations: 0.8071 MB / 1.364 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008472/0.3801, allocations: 0.6191 MB / 1.365 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.3816, allocations: 0.9522 MB / 1.366 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.3857, allocations: 2.775 MB / 1.368 GB, free: 7.211 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3858, allocations: 0 / 1.368 GB, free: 7.211 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3858, allocations: 0 / 1.368 GB, free: 7.211 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.886e-05/0.3858, allocations: 0 / 1.368 GB, free: 7.211 MB / 1.061 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.004693/0.3905, allocations: 2.155 MB / 1.37 GB, free: 5.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3906, allocations: 12.03 kB / 1.37 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.437e-05/0.3906, allocations: 34.52 kB / 1.37 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.3908, allocations: 194.4 kB / 1.371 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.4031, allocations: 2.113 MB / 1.373 GB, free: 2.652 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.4062, allocations: 1.236 MB / 1.374 GB, free: 1.367 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.4063, allocations: 94.42 kB / 1.374 GB, free: 1.273 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.4066, allocations: 116 kB / 1.374 GB, free: 1.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.413, allocations: 2.676 MB / 1.377 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.4131, allocations: 3.938 kB / 1.377 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.4133, allocations: 51.98 kB / 1.377 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007004/0.414, allocations: 198.1 kB / 1.377 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008437/0.4224, allocations: 2.791 MB / 1.38 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.4391, allocations: 10.35 MB / 1.39 GB, free: 376 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007251/0.4464, allocations: 2.191 MB / 1.392 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.4498, allocations: 1.199 MB / 1.393 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.4499, allocations: 13 kB / 1.393 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.45, allocations: 47.56 kB / 1.393 GB, free: 12.89 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.675e-06/0.45, allocations: 0 / 1.393 GB, free: 12.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.06483/0.5148, allocations: 16 MB / 1.409 GB, free: 12.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5149, allocations: 68.72 kB / 1.409 GB, free: 12.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.5167, allocations: 1.176 MB / 1.41 GB, free: 11.58 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.5169, allocations: 53.7 kB / 1.41 GB, free: 11.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006444/0.5176, allocations: 0.7529 MB / 1.411 GB, free: 10.77 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000669/0.5182, allocations: 0.5383 MB / 1.411 GB, free: 10.22 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.5189, allocations: 291.5 kB / 1.412 GB, free: 9.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5191, allocations: 305.1 kB / 1.412 GB, free: 9.629 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/0.523, allocations: 1.503 MB / 1.413 GB, free: 8.125 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.5273, allocations: 1.784 MB / 1.415 GB, free: 6.246 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00839/0.5357, allocations: 3.369 MB / 1.418 GB, free: 2.781 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.5357, allocations: 7.938 kB / 1.418 GB, free: 2.773 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01503/0.5507, allocations: 5.215 MB / 1.423 GB, free: 13.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5508, allocations: 8 kB / 1.423 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5508, allocations: 8 kB / 1.423 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007311/0.5581, allocations: 1.875 MB / 1.425 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.5602, allocations: 415.2 kB / 1.426 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03351/0.5937, allocations: 23.35 MB / 1.449 GB, free: 2.945 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.5965, allocations: 307.5 kB / 1.449 GB, free: 2.645 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.5968, allocations: 63.97 kB / 1.449 GB, free: 2.582 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.001021/0.5978, allocations: 469.5 kB / 1.449 GB, free: 2.113 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.5983, allocations: 186.8 kB / 1.45 GB, free: 1.93 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.6138, allocations: 5.246 MB / 1.455 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.6138, allocations: 16 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.379e-05/0.6139, allocations: 20 kB / 1.455 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.6139, allocations: 7.969 kB / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.6333, allocations: 7.32 MB / 1.462 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.6333, allocations: 0 / 1.462 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.6352, allocations: 355.7 kB / 1.462 GB, free: 4.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006609/0.6418, allocations: 1.71 MB / 1.464 GB, free: 3.066 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.6421, allocations: 43.91 kB / 1.464 GB, free: 3.023 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03205/0.6742, allocations: 22.5 MB / 1.486 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6742, allocations: 4.031 kB / 1.486 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.6883, allocations: 4.841 MB / 1.491 GB, free: 6.691 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.6896, allocations: 426.6 kB / 1.491 GB, free: 6.273 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005236/0.6901, allocations: 28 kB / 1.491 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/0.6928, allocations: 319.5 kB / 1.491 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005478/0.6934, allocations: 156.9 kB / 1.491 GB, free: 5.777 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.6936, allocations: 59.95 kB / 1.492 GB, free: 5.719 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001315/0.6949, allocations: 0.786 MB / 1.492 GB, free: 4.934 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6949, allocations: 3.938 kB / 1.492 GB, free: 4.93 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002474/0.6974, allocations: 0.6601 MB / 1.493 GB, free: 4.27 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.01403/0.7114, allocations: 5.409 MB / 1.498 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0125/0.7239, allocations: 4.928 MB / 1.503 GB, free: 9.734 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7239, allocations: 0 / 1.503 GB, free: 9.734 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.008142/0.732, allocations: 3.269 MB / 1.506 GB, free: 6.363 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.7351, allocations: 0.5671 MB / 1.507 GB, free: 5.812 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05362/0.7887, allocations: 21.8 MB / 1.528 GB, free: 15.51 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.7907, allocations: 1.564 MB / 1.53 GB, free: 13.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001577/0.7923, allocations: 390.4 kB / 1.53 GB, free: 13.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.7934, allocations: 0.6554 MB / 1.531 GB, free: 12.87 MB / 1.232 GB Notification: Performance of SimCode: time 9.01e-07/0.7934, allocations: 0 / 1.531 GB, free: 12.87 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/0.9227, allocations: 60.79 MB / 1.59 GB, free: 0.75 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.78/22.71, allocations: 11.98 kB / 1.59 GB, free: 0.7461 MB / 1.279 GB " [Timeout remaining time 277] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.393118964042515]