Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001627/0.001627, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001829/0.001829, allocations: 220.6 kB / 23.03 MB, free: 4.918 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.00196/0.00196, allocations: 74.89 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 176.1 MB / 1.327 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01706/0.3277, allocations: 13.28 MB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3423, allocations: 9.127 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.3437, allocations: 79.31 kB / 1.349 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004373/0.348, allocations: 1.676 MB / 1.35 GB, free: 9.332 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.3522, allocations: 1.579 MB / 1.352 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.3541, allocations: 0.7585 MB / 1.352 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.3575, allocations: 2.536 MB / 1.355 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.3593, allocations: 1.184 MB / 1.356 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.3611, allocations: 1.094 MB / 1.357 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.3632, allocations: 1.21 MB / 1.358 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.3636, allocations: 164 kB / 1.359 GB, free: 0.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3652, allocations: 0.7369 MB / 1.359 GB, free: 12 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008499/0.3661, allocations: 0.6308 MB / 1.36 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.3674, allocations: 0.7738 MB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.3711, allocations: 2.787 MB / 1.363 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3711, allocations: 4 kB / 1.363 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3711, allocations: 0 / 1.363 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.946e-05/0.3712, allocations: 0 / 1.363 GB, free: 11.8 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.004761/0.3759, allocations: 2.112 MB / 1.365 GB, free: 9.648 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.376, allocations: 8.031 kB / 1.365 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.318e-05/0.376, allocations: 34.56 kB / 1.365 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/0.3763, allocations: 194.4 kB / 1.366 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.3877, allocations: 2.098 MB / 1.368 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.3915, allocations: 1.216 MB / 1.369 GB, free: 6.039 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.3916, allocations: 94.48 kB / 1.369 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.3919, allocations: 123.9 kB / 1.369 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.3983, allocations: 3.08 MB / 1.372 GB, free: 2.496 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.3983, allocations: 7.938 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.3985, allocations: 55.98 kB / 1.372 GB, free: 2.434 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006346/0.3991, allocations: 182.1 kB / 1.372 GB, free: 2.254 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007769/0.4069, allocations: 2.791 MB / 1.375 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.422, allocations: 8.333 MB / 1.383 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/0.4288, allocations: 2.219 MB / 1.385 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.432, allocations: 1.218 MB / 1.387 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.4321, allocations: 13 kB / 1.387 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4321, allocations: 43.56 kB / 1.387 GB, free: 3.434 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.367e-06/0.4322, allocations: 0 / 1.387 GB, free: 3.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04719/0.4793, allocations: 12.67 MB / 1.399 GB, free: 6.715 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.4794, allocations: 64.72 kB / 1.399 GB, free: 6.641 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.481, allocations: 1.113 MB / 1.4 GB, free: 5.512 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.4812, allocations: 49.7 kB / 1.4 GB, free: 5.457 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.4818, allocations: 0.7287 MB / 1.401 GB, free: 4.723 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.4823, allocations: 479.8 kB / 1.401 GB, free: 4.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005956/0.4829, allocations: 267.5 kB / 1.402 GB, free: 3.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.4831, allocations: 357.9 kB / 1.402 GB, free: 3.625 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/0.4865, allocations: 1.342 MB / 1.403 GB, free: 2.281 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.4901, allocations: 1.6 MB / 1.405 GB, free: 0.582 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/0.4971, allocations: 2.994 MB / 1.408 GB, free: 13.49 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.4971, allocations: 4 kB / 1.408 GB, free: 13.49 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01195/0.5091, allocations: 4.4 MB / 1.412 GB, free: 9.035 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.5091, allocations: 10.44 kB / 1.412 GB, free: 9.027 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5091, allocations: 4 kB / 1.412 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/0.5148, allocations: 1.435 MB / 1.413 GB, free: 7.547 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.5168, allocations: 431.3 kB / 1.414 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/0.5467, allocations: 25.11 MB / 1.438 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5492, allocations: 307.5 kB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5494, allocations: 63.97 kB / 1.439 GB, free: 12.15 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 (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.0008212/0.5502, allocations: 433.5 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.5505, allocations: 170.9 kB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.5624, allocations: 4.41 MB / 1.444 GB, free: 7.086 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.5625, allocations: 16 kB / 1.444 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/0.5625, allocations: 15.94 kB / 1.444 GB, free: 7.055 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.5625, allocations: 3.984 kB / 1.444 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.578, allocations: 6.288 MB / 1.45 GB, free: 0.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.578, allocations: 4.344 kB / 1.45 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.5798, allocations: 387.2 kB / 1.45 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004986/0.5847, allocations: 1.299 MB / 1.451 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.5849, allocations: 39.97 kB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.6122, allocations: 23.99 MB / 1.475 GB, free: 5.383 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.6122, allocations: 4 kB / 1.475 GB, free: 5.379 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.6235, allocations: 4.168 MB / 1.479 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.6246, allocations: 390.7 kB / 1.479 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.6248, allocations: 24 kB / 1.479 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/0.6268, allocations: 311.5 kB / 1.48 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/0.6273, allocations: 132.6 kB / 1.48 GB, free: 280 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.6274, allocations: 47.97 kB / 1.48 GB, free: 232 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001082/0.6285, allocations: 0.7527 MB / 1.481 GB, free: 15.47 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6285, allocations: 0 / 1.481 GB, free: 15.47 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001914/0.6304, allocations: 0.5703 MB / 1.481 GB, free: 14.9 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 (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.01145/0.6418, allocations: 4.752 MB / 1.486 GB, free: 10.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01122/0.6531, allocations: 4.962 MB / 1.491 GB, free: 4.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6531, allocations: 0 / 1.491 GB, free: 4.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007128/0.6602, allocations: 3.421 MB / 1.494 GB, free: 1.324 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.6627, allocations: 0.5527 MB / 1.494 GB, free: 0.793 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04355/0.7062, allocations: 19.34 MB / 1.513 GB, free: 12.99 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.7073, allocations: 0.8873 MB / 1.514 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001495/0.7088, allocations: 429.5 kB / 1.515 GB, free: 11.64 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000982/0.7098, allocations: 0.632 MB / 1.515 GB, free: 11.01 MB / 1.217 GB Notification: Performance of SimCode: time 8.32e-07/0.7098, allocations: 0 / 1.515 GB, free: 11.01 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.8443, allocations: 56.43 MB / 1.57 GB, free: 3.629 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/21.53, allocations: 7.312 kB / 1.57 GB, free: 3.625 MB / 1.264 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 28.340640706010163]