Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001801/0.001801, 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.001794/0.001794, allocations: 214 kB / 23.03 MB, free: 4.922 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.099/3.099, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.001991/0.001991, allocations: 62.09 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01687/0.3294, allocations: 13.3 MB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.3439, allocations: 9.131 MB / 1.367 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.345, allocations: 79.25 kB / 1.367 GB, free: 9.387 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.3494, allocations: 1.662 MB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.3539, allocations: 1.583 MB / 1.37 GB, free: 6.137 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3557, allocations: 0.7609 MB / 1.371 GB, free: 5.375 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.3587, allocations: 2.526 MB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.3603, allocations: 1.188 MB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3617, allocations: 1.094 MB / 1.376 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.3634, allocations: 1.206 MB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.3637, allocations: 168 kB / 1.377 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.365, allocations: 0.733 MB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.3657, allocations: 0.6309 MB / 1.379 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009112/0.3666, allocations: 0.7815 MB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3696, allocations: 2.779 MB / 1.382 GB, free: 10.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3696, allocations: 0 / 1.382 GB, free: 10.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3696, allocations: 3.938 kB / 1.382 GB, free: 10.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.3697, allocations: 0 / 1.382 GB, free: 10.2 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00385/0.3735, allocations: 2.116 MB / 1.384 GB, free: 8.047 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3736, allocations: 12.03 kB / 1.384 GB, free: 8.035 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.254e-05/0.3736, allocations: 30.56 kB / 1.384 GB, free: 8.004 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.3738, allocations: 194.4 kB / 1.384 GB, free: 7.805 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.3851, allocations: 2.09 MB / 1.386 GB, free: 5.711 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.3881, allocations: 1.22 MB / 1.388 GB, free: 4.441 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.3881, allocations: 98.42 kB / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.3884, allocations: 116 kB / 1.388 GB, free: 4.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.3943, allocations: 3.084 MB / 1.391 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.3944, allocations: 7.938 kB / 1.391 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3945, allocations: 55.98 kB / 1.391 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006265/0.3952, allocations: 182.1 kB / 1.391 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00734/0.4025, allocations: 2.795 MB / 1.394 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.4167, allocations: 8.333 MB / 1.402 GB, free: 5.336 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.4232, allocations: 2.215 MB / 1.404 GB, free: 3.109 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.4262, allocations: 1.218 MB / 1.405 GB, free: 1.891 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.4263, allocations: 9 kB / 1.405 GB, free: 1.879 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4263, allocations: 43.56 kB / 1.405 GB, free: 1.828 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.317e-06/0.4263, allocations: 4 kB / 1.405 GB, free: 1.824 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.04538/0.4717, allocations: 12.67 MB / 1.418 GB, free: 5.102 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4718, allocations: 68.72 kB / 1.418 GB, free: 5.023 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4733, allocations: 1.117 MB / 1.419 GB, free: 3.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.4735, allocations: 49.7 kB / 1.419 GB, free: 3.836 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.474, allocations: 0.7248 MB / 1.42 GB, free: 3.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000468/0.4745, allocations: 471.9 kB / 1.42 GB, free: 2.641 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005431/0.4751, allocations: 267.5 kB / 1.42 GB, free: 2.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4752, allocations: 361.9 kB / 1.421 GB, free: 2.016 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.4784, allocations: 1.346 MB / 1.422 GB, free: 0.668 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/0.4818, allocations: 1.604 MB / 1.423 GB, free: 14.96 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006588/0.4884, allocations: 2.991 MB / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4884, allocations: 4 kB / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01142/0.4998, allocations: 4.404 MB / 1.431 GB, free: 7.418 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.4999, allocations: 8 kB / 1.431 GB, free: 7.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.4999, allocations: 8 kB / 1.431 GB, free: 7.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/0.5054, allocations: 1.424 MB / 1.432 GB, free: 5.938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5074, allocations: 447.2 kB / 1.433 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02874/0.5361, allocations: 25.1 MB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.5386, allocations: 311.4 kB / 1.457 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.5387, allocations: 63.97 kB / 1.457 GB, free: 10.54 MB / 1.154 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.0008242/0.5396, allocations: 433.5 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.5399, allocations: 167 kB / 1.458 GB, free: 9.941 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.551, allocations: 4.41 MB / 1.462 GB, free: 5.477 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5511, allocations: 12 kB / 1.462 GB, free: 5.465 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.5511, allocations: 12 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5511, allocations: 7.969 kB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5657, allocations: 6.3 MB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.5657, allocations: 4 kB / 1.468 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.5674, allocations: 387.6 kB / 1.469 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/0.5723, allocations: 1.31 MB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.5725, allocations: 43.97 kB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.5988, allocations: 23.96 MB / 1.494 GB, free: 3.777 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5988, allocations: 7.938 kB / 1.494 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.6095, allocations: 4.16 MB / 1.498 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.6104, allocations: 390.9 kB / 1.498 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.6107, allocations: 28 kB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/0.6126, allocations: 307.5 kB / 1.498 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/0.6131, allocations: 140.6 kB / 1.498 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.6132, allocations: 47.95 kB / 1.499 GB, free: 14.62 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001145/0.6144, allocations: 0.7565 MB / 1.499 GB, free: 13.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6144, allocations: 0 / 1.499 GB, free: 13.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002099/0.6165, allocations: 0.5664 MB / 1.5 GB, free: 13.3 MB / 1.201 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.01095/0.6274, allocations: 4.747 MB / 1.504 GB, free: 8.441 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.6383, allocations: 4.966 MB / 1.509 GB, free: 3.309 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6383, allocations: 0 / 1.509 GB, free: 3.309 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.006928/0.6452, allocations: 3.417 MB / 1.513 GB, free: 15.72 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.6476, allocations: 0.5518 MB / 1.513 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/0.6889, allocations: 19.36 MB / 1.532 GB, free: 11.38 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.69, allocations: 0.8834 MB / 1.533 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001525/0.6916, allocations: 421.6 kB / 1.533 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009542/0.6925, allocations: 0.632 MB / 1.534 GB, free: 9.41 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/0.6925, allocations: 0 / 1.534 GB, free: 9.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/0.8176, allocations: 56.42 MB / 1.589 GB, free: 1.91 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/20.94, allocations: 8 kB / 1.589 GB, free: 1.902 MB / 1.279 GB " [Timeout remaining time 279] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.709865412092768]