Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.0017, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06126/0.06126, allocations: 14.17 MB / 283.9 MB, free: 7.078 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.001431/0.001431, allocations: 75.83 kB / 345.2 MB, free: 19.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1009, allocations: 50.12 MB / 395.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.007361/0.1083, allocations: 7.171 MB / 402.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1143, allocations: 3.514 MB / 406 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.1151, allocations: 15.94 kB / 406 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1163, allocations: 417.7 kB / 406.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.1196, allocations: 1.566 MB / 408 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.1206, allocations: 0.5603 MB / 408.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.1224, allocations: 1.818 MB / 410.4 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1227, allocations: 122.5 kB / 410.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.1233, allocations: 0.6031 MB / 411.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.124, allocations: 0.6342 MB / 411.7 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.525e-05/0.1241, allocations: 60 kB / 411.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.1249, allocations: 431.7 kB / 412.2 MB, free: 184 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.125, allocations: 159.2 kB / 412.4 MB, free: 20 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.1255, allocations: 0.5326 MB / 412.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.1268, allocations: 1.418 MB / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1268, allocations: 0 / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1269, allocations: 0 / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1269, allocations: 3.938 kB / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004929/0.1318, allocations: 1.7 MB / 416 MB, free: 12.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1319, allocations: 12.03 kB / 416 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.132, allocations: 122.7 kB / 416.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.1326, allocations: 147.7 kB / 416.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1337, allocations: 0.6609 MB / 416.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.1337, allocations: 62.12 kB / 417 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.1338, allocations: 68 kB / 417.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1349, allocations: 0.7515 MB / 417.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1349, allocations: 3.984 kB / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.135, allocations: 32 kB / 417.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.135, allocations: 16 kB / 417.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1361, allocations: 0.6752 MB / 418.5 MB, free: 9.672 MB / 318.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.005861/0.142, allocations: 5.239 MB / 423.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1435, allocations: 0.9474 MB / 424.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.1439, allocations: 303 kB / 425 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.144, allocations: 16.62 kB / 425 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.144, allocations: 43.22 kB / 425.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.354e-06/0.144, allocations: 0 / 425.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004471/0.1485, allocations: 1.553 MB / 426.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1486, allocations: 60.06 kB / 426.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.1493, allocations: 0.5576 MB / 427.3 MB, free: 316 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1493, allocations: 37.7 kB / 427.3 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.165/0.3144, allocations: 351.3 kB / 427.6 MB, free: 37.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.3147, allocations: 275.8 kB / 427.9 MB, free: 37.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3149, allocations: 132.7 kB / 428 MB, free: 37.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3151, allocations: 374.1 kB / 428.4 MB, free: 37.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3155, allocations: 210.2 kB / 428.6 MB, free: 37.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.3159, allocations: 330.9 kB / 428.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.3168, allocations: 0.5827 MB / 429.5 MB, free: 37.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3168, allocations: 1.375 kB / 429.5 MB, free: 37.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002382/0.3192, allocations: 0.9453 MB / 430.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.3192, allocations: 9.391 kB / 430.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3192, allocations: 3.312 kB / 430.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3205, allocations: 323.7 kB / 430.8 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.3212, allocations: 161.3 kB / 430.9 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/0.3261, allocations: 3.378 MB / 434.3 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.3271, allocations: 50.73 kB / 434.4 MB, free: 34.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.3272, allocations: 22.88 kB / 434.4 MB, free: 34.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.3276, allocations: 222.2 kB / 434.6 MB, free: 34.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3277, allocations: 77.31 kB / 434.7 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.3295, allocations: 0.8846 MB / 435.6 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3296, allocations: 8.188 kB / 435.6 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3296, allocations: 0 / 435.6 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3296, allocations: 4.219 kB / 435.6 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.3327, allocations: 1.917 MB / 437.5 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3327, allocations: 1.094 kB / 437.5 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.3333, allocations: 131.5 kB / 437.6 MB, free: 32.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.3343, allocations: 305.8 kB / 437.9 MB, free: 32.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.3344, allocations: 11.19 kB / 437.9 MB, free: 32.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.3388, allocations: 3.292 MB / 441.2 MB, free: 30.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3388, allocations: 3.047 kB / 441.2 MB, free: 30.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3405, allocations: 0.9376 MB / 442.2 MB, free: 29.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.3409, allocations: 224.4 kB / 442.4 MB, free: 29.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.341, allocations: 15.47 kB / 442.4 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.3416, allocations: 23.94 kB / 442.4 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3417, allocations: 49.23 kB / 442.5 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.3418, allocations: 21.12 kB / 442.5 MB, free: 29.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.3423, allocations: 393.2 kB / 442.9 MB, free: 29.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3423, allocations: 0 / 442.9 MB, free: 29.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001055/0.3434, allocations: 329.8 kB / 443.2 MB, free: 29.49 MB / 318.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 (51): * Single equations (assignments): 50 * 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/0.3453, allocations: 1.551 MB / 444.8 MB, free: 28.46 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.002016/0.3473, allocations: 0.9166 MB / 445.7 MB, free: 28.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3474, allocations: 0 / 445.7 MB, free: 28.05 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.3483, allocations: 0.6094 MB / 446.3 MB, free: 27.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.3491, allocations: 105.6 kB / 446.4 MB, free: 27.68 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/0.3572, allocations: 6.242 MB / 452.6 MB, free: 24.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3576, allocations: 0.9398 MB / 453.6 MB, free: 23.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.358, allocations: 86.42 kB / 453.7 MB, free: 23.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.3583, allocations: 259.6 kB / 453.9 MB, free: 23.17 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3583, allocations: 0 / 453.9 MB, free: 23.17 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.3973, allocations: 19.5 MB / 473.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 11.67 kB / 473.4 MB, free: 4.508 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_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_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches