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.001753/0.001753, allocations: 101.4 kB / 16.45 MB, free: 6.5 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.002155/0.002155, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.186/3.186, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_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.002189/0.002189, allocations: 73.03 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3238, allocations: 176.1 MB / 1.321 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0187/0.3425, allocations: 14.25 MB / 1.335 GB, free: 4.938 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.3578, allocations: 9.547 MB / 1.344 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.3593, allocations: 79.31 kB / 1.344 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.364, allocations: 1.699 MB / 1.346 GB, free: 9.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.3686, allocations: 1.573 MB / 1.347 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.3706, allocations: 0.7592 MB / 1.348 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.3742, allocations: 2.532 MB / 1.351 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.376, allocations: 1.122 MB / 1.352 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.3779, allocations: 1.082 MB / 1.353 GB, free: 2.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.38, allocations: 1.218 MB / 1.354 GB, free: 1.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.3803, allocations: 164 kB / 1.354 GB, free: 1.074 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.382, allocations: 0.8033 MB / 1.355 GB, free: 276 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007714/0.3827, allocations: 0.6309 MB / 1.355 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.384, allocations: 0.9368 MB / 1.356 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.3879, allocations: 2.771 MB / 1.359 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3879, allocations: 4 kB / 1.359 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3879, allocations: 0 / 1.359 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.459e-05/0.388, allocations: 0 / 1.359 GB, free: 11.91 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.004673/0.3926, allocations: 2.191 MB / 1.361 GB, free: 9.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3927, allocations: 11.98 kB / 1.361 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.393, allocations: 198.4 kB / 1.361 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.4053, allocations: 2.094 MB / 1.363 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.4084, allocations: 1.299 MB / 1.365 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.4085, allocations: 90.73 kB / 1.365 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.4089, allocations: 123.9 kB / 1.365 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006479/0.4153, allocations: 2.671 MB / 1.368 GB, free: 2.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.4154, allocations: 7.938 kB / 1.368 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.4156, allocations: 55.98 kB / 1.368 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007236/0.4163, allocations: 190.1 kB / 1.368 GB, free: 2.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008488/0.4248, allocations: 2.791 MB / 1.37 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/0.4418, allocations: 10.48 MB / 1.381 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007523/0.4493, allocations: 2.451 MB / 1.383 GB, free: 2.336 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/0.4528, allocations: 1.21 MB / 1.384 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.4529, allocations: 9 kB / 1.384 GB, free: 1.113 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4529, allocations: 43.56 kB / 1.384 GB, free: 1.062 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 6.282e-06/0.4529, allocations: 3.984 kB / 1.384 GB, free: 1.059 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.05088/0.5038, allocations: 13.34 MB / 1.397 GB, free: 3.5 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.5039, allocations: 64.72 kB / 1.397 GB, free: 3.426 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.5055, allocations: 1.113 MB / 1.399 GB, free: 2.297 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.5057, allocations: 49.7 kB / 1.399 GB, free: 2.242 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.5063, allocations: 0.7287 MB / 1.399 GB, free: 1.508 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.5068, allocations: 483.8 kB / 1.4 GB, free: 1.031 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005766/0.5074, allocations: 263.5 kB / 1.4 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5076, allocations: 361.9 kB / 1.4 GB, free: 416 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/0.5113, allocations: 1.335 MB / 1.402 GB, free: 15.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.5154, allocations: 1.604 MB / 1.403 GB, free: 13.37 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007685/0.5231, allocations: 2.994 MB / 1.406 GB, free: 10.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5231, allocations: 0 / 1.406 GB, free: 10.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01273/0.5358, allocations: 4.396 MB / 1.41 GB, free: 5.828 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.5358, allocations: 8.875 kB / 1.41 GB, free: 5.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.5358, allocations: 4 kB / 1.41 GB, free: 5.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.5416, allocations: 1.443 MB / 1.412 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.544, allocations: 439.3 kB / 1.412 GB, free: 3.902 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03172/0.5757, allocations: 26.69 MB / 1.438 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.5785, allocations: 303.6 kB / 1.439 GB, free: 7.078 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.5787, allocations: 75.95 kB / 1.439 GB, free: 7.004 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.0008585/0.5795, allocations: 439.1 kB / 1.439 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/0.5799, allocations: 167 kB / 1.439 GB, free: 6.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.5929, allocations: 4.406 MB / 1.444 GB, free: 1.941 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5929, allocations: 12 kB / 1.444 GB, free: 1.93 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.5929, allocations: 12 kB / 1.444 GB, free: 1.918 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.593, allocations: 7.969 kB / 1.444 GB, free: 1.91 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.6098, allocations: 6.732 MB / 1.45 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.6099, allocations: 4 kB / 1.45 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.6119, allocations: 379.7 kB / 1.451 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/0.6173, allocations: 1.306 MB / 1.452 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.6176, allocations: 39.97 kB / 1.452 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02953/0.6471, allocations: 25.5 MB / 1.477 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6471, allocations: 4 kB / 1.477 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.6593, allocations: 4.171 MB / 1.481 GB, free: 9.652 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.6603, allocations: 459.8 kB / 1.481 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.6606, allocations: 31.92 kB / 1.481 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/0.6629, allocations: 303.5 kB / 1.482 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/0.6633, allocations: 128.7 kB / 1.482 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6635, allocations: 51.95 kB / 1.482 GB, free: 8.68 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001157/0.6646, allocations: 0.7565 MB / 1.483 GB, free: 7.922 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6646, allocations: 0 / 1.483 GB, free: 7.922 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002096/0.6667, allocations: 0.5703 MB / 1.483 GB, free: 7.352 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.01221/0.6789, allocations: 4.756 MB / 1.488 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01239/0.6913, allocations: 4.966 MB / 1.493 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6913, allocations: 4.375 kB / 1.493 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00795/0.6993, allocations: 3.417 MB / 1.496 GB, free: 9.762 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.7019, allocations: 0.5584 MB / 1.496 GB, free: 9.223 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04588/0.7478, allocations: 19.32 MB / 1.515 GB, free: 5.445 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.7492, allocations: 1.47 MB / 1.517 GB, free: 3.945 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001566/0.7508, allocations: 437.5 kB / 1.517 GB, free: 3.512 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.7519, allocations: 0.6242 MB / 1.518 GB, free: 2.887 MB / 1.217 GB Notification: Performance of SimCode: time 1.613e-06/0.7519, allocations: 0 / 1.518 GB, free: 2.887 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/0.9124, allocations: 51.99 MB / 1.569 GB, free: 15.53 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/20.08, allocations: 9.25 kB / 1.569 GB, free: 15.52 MB / 1.279 GB " [Timeout remaining time 280] (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: 26.9070277470164]