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.007742/0.007742, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001764/0.001764, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.518/1.518, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.063/0.063, allocations: 14.17 MB / 284.1 MB, free: 6.969 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.003065/0.003066, allocations: 64.12 kB / 396 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3397, allocations: 50.15 MB / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004541/0.3443, allocations: 4.177 MB / 450.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.3478, allocations: 2.446 MB / 452.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.3482, allocations: 7 kB / 452.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.3489, allocations: 242.6 kB / 453 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.3513, allocations: 1.144 MB / 454.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.3517, allocations: 240.9 kB / 454.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3529, allocations: 0.9314 MB / 455.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3531, allocations: 67.58 kB / 455.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.3537, allocations: 334 kB / 455.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.3543, allocations: 315.7 kB / 456 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3544, allocations: 30.09 kB / 456 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.3552, allocations: 268.3 kB / 456.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3554, allocations: 78 kB / 456.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.3559, allocations: 268.9 kB / 456.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.3572, allocations: 0.7895 MB / 457.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3573, allocations: 1.219 kB / 457.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3573, allocations: 0 / 457.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.3573, allocations: 3.938 kB / 457.4 MB, free: 9.438 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.003325/0.3606, allocations: 0.9753 MB / 458.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3607, allocations: 9.469 kB / 458.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.3608, allocations: 68.62 kB / 458.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.3612, allocations: 82.98 kB / 458.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009463/0.3621, allocations: 435.2 kB / 459 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.3622, allocations: 25.94 kB / 459 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.3622, allocations: 32.59 kB / 459.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.3629, allocations: 365 kB / 459.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3629, allocations: 3.984 kB / 459.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3629, allocations: 12.06 kB / 459.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.363, allocations: 7.469 kB / 459.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.3635, allocations: 303.1 kB / 459.7 MB, free: 7.742 MB / 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.003275/0.3668, allocations: 2.485 MB / 462.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.3678, allocations: 453.3 kB / 462.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.368, allocations: 112.2 kB / 462.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.3681, allocations: 8.656 kB / 462.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3681, allocations: 35.72 kB / 462.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.3681, allocations: 0 / 462.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002324/0.3705, allocations: 0.7275 MB / 463.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3705, allocations: 62.8 kB / 463.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.371, allocations: 353.8 kB / 463.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.371, allocations: 30.95 kB / 464 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3712, allocations: 199.6 kB / 464.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3713, allocations: 130.2 kB / 464.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3715, allocations: 68.58 kB / 464.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3716, allocations: 350.2 kB / 464.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.3718, allocations: 88.41 kB / 464.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.3721, allocations: 134.9 kB / 464.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3725, allocations: 243.1 kB / 465.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3725, allocations: 0 / 465.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001183/0.3737, allocations: 459.3 kB / 465.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3737, allocations: 5.281 kB / 465.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3737, allocations: 10.2 kB / 465.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007292/0.3745, allocations: 144.5 kB / 465.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.3748, allocations: 65.97 kB / 465.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.3778, allocations: 2.233 MB / 468.1 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.3782, allocations: 19.89 kB / 468.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.3783, allocations: 16 kB / 468.1 MB, free: 440 kB / 334.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.0002216/0.3785, allocations: 161.7 kB / 468.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3786, allocations: 39.77 kB / 468.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3798, allocations: 458 kB / 468.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3798, allocations: 4.109 kB / 468.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3798, allocations: 3.938 kB / 468.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3798, allocations: 3.984 kB / 468.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.3819, allocations: 1.03 MB / 469.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3819, allocations: 0 / 469.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3822, allocations: 63.89 kB / 469.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.3828, allocations: 144.7 kB / 470 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.3829, allocations: 15.92 kB / 470 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.3855, allocations: 2.172 MB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3855, allocations: 0 / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.3865, allocations: 0.5245 MB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.3868, allocations: 152.8 kB / 472.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.3869, allocations: 11.94 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.3872, allocations: 16.03 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3873, allocations: 27.91 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3873, allocations: 12 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.3876, allocations: 247.2 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.3876, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006663/0.3883, allocations: 163.8 kB / 473.3 MB, free: 10.95 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.001342/0.3897, allocations: 1.095 MB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.3905, allocations: 435.1 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3905, allocations: 0 / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.391, allocations: 314.3 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.3915, allocations: 69.42 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.3967, allocations: 3.489 MB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.3972, allocations: 0.804 MB / 479.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.3974, allocations: 42.94 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3976, allocations: 123.4 kB / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3976, allocations: 0 / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.4339, allocations: 10.81 MB / 490.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.76, allocations: 4.547 kB / 490.5 MB, free: 9.566 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