Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008453/0.008453, allocations: 98.19 kB / 15.73 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 199.4 kB / 16.67 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06797/0.06797, allocations: 14.17 MB / 284.1 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 74.27 kB / 396 MB, free: 44.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 50.13 MB / 446.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005352/0.1087, allocations: 4.163 MB / 450.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.1125, allocations: 2.454 MB / 452.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.1127, allocations: 7.938 kB / 452.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.1134, allocations: 242.7 kB / 453 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.1158, allocations: 1.139 MB / 454.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1163, allocations: 242.9 kB / 454.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1173, allocations: 0.93 MB / 455.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1175, allocations: 69.27 kB / 455.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.1179, allocations: 334.8 kB / 455.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.1182, allocations: 306.8 kB / 456 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.1183, allocations: 32 kB / 456 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005476/0.1188, allocations: 271.7 kB / 456.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1189, allocations: 75.62 kB / 456.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.1192, allocations: 278.7 kB / 456.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.1202, allocations: 0.7902 MB / 457.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1202, allocations: 0 / 457.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1202, allocations: 0 / 457.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1202, allocations: 0 / 457.4 MB, free: 2.812 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002564/0.1228, allocations: 0.9738 MB / 458.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1228, allocations: 15.97 kB / 458.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.1229, allocations: 66.72 kB / 458.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.1232, allocations: 80.58 kB / 458.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.1241, allocations: 428.9 kB / 459 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1241, allocations: 33.12 kB / 459 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1242, allocations: 32 kB / 459 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1248, allocations: 361 kB / 459.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1248, allocations: 3.938 kB / 459.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1248, allocations: 12 kB / 459.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1248, allocations: 8 kB / 459.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1253, allocations: 298.4 kB / 459.7 MB, free: 420 kB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.1281, allocations: 2.5 MB / 462.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.129, allocations: 452.1 kB / 462.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1292, allocations: 112.8 kB / 462.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1293, allocations: 4 kB / 462.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1293, allocations: 38.56 kB / 462.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.1293, allocations: 0 / 462.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002199/0.1315, allocations: 0.7343 MB / 463.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1316, allocations: 55.41 kB / 463.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.1319, allocations: 345.7 kB / 463.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.132, allocations: 33.7 kB / 464 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1321, allocations: 200.6 kB / 464.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1322, allocations: 130.8 kB / 464.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.1324, allocations: 61.66 kB / 464.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1325, allocations: 350.7 kB / 464.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1326, allocations: 89.06 kB / 464.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1328, allocations: 136.2 kB / 464.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1332, allocations: 244 kB / 465.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1332, allocations: 4 kB / 465.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009383/0.1341, allocations: 445.4 kB / 465.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1341, allocations: 7.938 kB / 465.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1342, allocations: 4 kB / 465.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.1349, allocations: 152.8 kB / 465.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.1352, allocations: 63.91 kB / 465.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.1381, allocations: 2.243 MB / 468.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1384, allocations: 27.89 kB / 468.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1385, allocations: 8 kB / 468.1 MB, free: 7.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.1386, allocations: 165.7 kB / 468.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1387, allocations: 39.77 kB / 468.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.1397, allocations: 462 kB / 468.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1397, allocations: 4 kB / 468.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1397, allocations: 0 / 468.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1398, allocations: 3.984 kB / 468.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.1414, allocations: 1.041 MB / 469.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1414, allocations: 0 / 469.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.1417, allocations: 59.89 kB / 469.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/0.1424, allocations: 140.7 kB / 470 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1424, allocations: 11.92 kB / 470 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.1451, allocations: 2.172 MB / 472.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1451, allocations: 3.938 kB / 472.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.1461, allocations: 0.5284 MB / 472.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1462, allocations: 152.7 kB / 472.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.1463, allocations: 8 kB / 472.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.1466, allocations: 11.98 kB / 472.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1467, allocations: 23.97 kB / 472.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1467, allocations: 8 kB / 472.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002772/0.147, allocations: 247.2 kB / 473.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 473.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005996/0.1476, allocations: 159.9 kB / 473.3 MB, free: 1.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.149, allocations: 1.099 MB / 474.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008066/0.1498, allocations: 430.8 kB / 474.8 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1498, allocations: 0 / 474.8 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.1503, allocations: 326.6 kB / 475.1 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.1508, allocations: 70.02 kB / 475.2 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.1561, allocations: 3.478 MB / 478.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1566, allocations: 0.8078 MB / 479.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.1568, allocations: 38.95 kB / 479.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.157, allocations: 119.4 kB / 479.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.157, allocations: 0 / 479.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.1943, allocations: 10.82 MB / 490.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.83, allocations: 4.625 kB / 490.5 MB, free: 0.6445 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches