Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.001731/0.001731, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002234/0.002234, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_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.002045/0.002045, allocations: 66.73 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01979/0.3274, allocations: 14.6 MB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.343, allocations: 9.801 MB / 1.307 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.3443, allocations: 87.25 kB / 1.307 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.3488, allocations: 1.737 MB / 1.309 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.3536, allocations: 1.596 MB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.3558, allocations: 0.7628 MB / 1.311 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.3601, allocations: 2.525 MB / 1.314 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.3619, allocations: 1.192 MB / 1.315 GB, free: 11.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3637, allocations: 1.215 MB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.3652, allocations: 1.128 MB / 1.317 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.3654, allocations: 160 kB / 1.317 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.3669, allocations: 0.8033 MB / 1.318 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006/0.3675, allocations: 0.6192 MB / 1.319 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009672/0.3685, allocations: 0.929 MB / 1.32 GB, free: 6.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.3718, allocations: 2.736 MB / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3718, allocations: 0 / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3718, allocations: 8 kB / 1.322 GB, free: 3.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.132e-05/0.3718, allocations: 0 / 1.322 GB, free: 3.66 MB / 1.014 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.004192/0.376, allocations: 2.104 MB / 1.324 GB, free: 1.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.376, allocations: 12.03 kB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.3763, allocations: 194.4 kB / 1.325 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.387, allocations: 2.094 MB / 1.327 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.3898, allocations: 1.177 MB / 1.328 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.3899, allocations: 94.72 kB / 1.328 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.3901, allocations: 127.8 kB / 1.328 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005692/0.3958, allocations: 2.638 MB / 1.331 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.3959, allocations: 7.938 kB / 1.331 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.396, allocations: 51.98 kB / 1.331 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005825/0.3966, allocations: 182.1 kB / 1.331 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007277/0.4039, allocations: 2.799 MB / 1.334 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.4195, allocations: 10.37 MB / 1.344 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/0.4258, allocations: 2.22 MB / 1.346 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.4288, allocations: 1.206 MB / 1.347 GB, free: 9.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/0.4289, allocations: 9 kB / 1.347 GB, free: 9.555 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.4289, allocations: 47.55 kB / 1.347 GB, free: 9.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.4289, allocations: 0 / 1.347 GB, free: 9.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04416/0.4731, allocations: 12.66 MB / 1.359 GB, free: 12.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.4731, allocations: 68.66 kB / 1.359 GB, free: 12.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4748, allocations: 1.117 MB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.475, allocations: 49.7 kB / 1.361 GB, free: 11.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.4756, allocations: 0.7287 MB / 1.361 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.4761, allocations: 479.9 kB / 1.362 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.4766, allocations: 259.5 kB / 1.362 GB, free: 10.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4768, allocations: 365.9 kB / 1.362 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.48, allocations: 1.343 MB / 1.364 GB, free: 8.344 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/0.4834, allocations: 1.6 MB / 1.365 GB, free: 6.645 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/0.49, allocations: 2.991 MB / 1.368 GB, free: 3.559 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.49, allocations: 0 / 1.368 GB, free: 3.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01128/0.5013, allocations: 4.408 MB / 1.372 GB, free: 15.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5013, allocations: 8 kB / 1.373 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.5014, allocations: 4 kB / 1.373 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005053/0.5064, allocations: 1.435 MB / 1.374 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.5083, allocations: 439.2 kB / 1.374 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02864/0.537, allocations: 25.35 MB / 1.399 GB, free: 2.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.5394, allocations: 315.5 kB / 1.399 GB, free: 2.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.5397, allocations: 60.16 kB / 1.399 GB, free: 1.961 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008439/0.5405, allocations: 437.5 kB / 1.4 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.5408, allocations: 170.9 kB / 1.4 GB, free: 1.355 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.5523, allocations: 4.402 MB / 1.404 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5523, allocations: 12 kB / 1.404 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-05/0.5524, allocations: 12 kB / 1.404 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5524, allocations: 7.969 kB / 1.404 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.5677, allocations: 6.708 MB / 1.411 GB, free: 6 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5677, allocations: 0 / 1.411 GB, free: 6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.5694, allocations: 383.3 kB / 1.411 GB, free: 5.625 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00465/0.5741, allocations: 1.306 MB / 1.413 GB, free: 4.277 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.5742, allocations: 39.97 kB / 1.413 GB, free: 4.238 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.6013, allocations: 24.17 MB / 1.436 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6013, allocations: 4 kB / 1.436 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.6119, allocations: 4.168 MB / 1.44 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.6131, allocations: 390.6 kB / 1.441 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.6134, allocations: 24 kB / 1.441 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.6153, allocations: 311.5 kB / 1.441 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004211/0.6157, allocations: 128.6 kB / 1.441 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6158, allocations: 47.97 kB / 1.441 GB, free: 5.426 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001145/0.617, allocations: 0.7604 MB / 1.442 GB, free: 4.664 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.617, allocations: 0 / 1.442 GB, free: 4.664 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001917/0.6189, allocations: 0.5703 MB / 1.442 GB, free: 4.094 MB / 1.139 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/0.6298, allocations: 4.747 MB / 1.447 GB, free: 15.24 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01093/0.6407, allocations: 4.966 MB / 1.452 GB, free: 10.1 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.6407, allocations: 4.125 kB / 1.452 GB, free: 10.1 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00677/0.6475, allocations: 3.421 MB / 1.455 GB, free: 6.504 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.6498, allocations: 0.5448 MB / 1.456 GB, free: 5.977 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/0.6907, allocations: 19.36 MB / 1.475 GB, free: 2.172 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.692, allocations: 1.473 MB / 1.476 GB, free: 0.668 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001448/0.6935, allocations: 421.6 kB / 1.477 GB, free: 256 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00096/0.6945, allocations: 0.6319 MB / 1.477 GB, free: 15.62 MB / 1.186 GB Notification: Performance of SimCode: time 1.082e-06/0.6945, allocations: 0 / 1.477 GB, free: 15.62 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/0.8265, allocations: 53.35 MB / 1.529 GB, free: 10.9 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/21.2, allocations: 14.83 kB / 1.529 GB, free: 10.89 MB / 1.232 GB " [Timeout remaining time 278] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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: 27.774455412989482]