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.005095/0.005095, allocations: 99.86 kB / 15.73 MB, free: 6.043 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.00131/0.00131, allocations: 202.9 kB / 16.68 MB, free: 5.965 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.559/1.559, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06695/0.06695, allocations: 14.16 MB / 284.1 MB, free: 6.992 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.002103/0.002103, allocations: 63.91 kB / 396 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2751, allocations: 50.15 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004445/0.2795, allocations: 4.168 MB / 450.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.2834, allocations: 2.45 MB / 452.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.2837, allocations: 10.53 kB / 452.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.2843, allocations: 238.9 kB / 453 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.2869, allocations: 1.114 MB / 454.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.2874, allocations: 246.8 kB / 454.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.2886, allocations: 0.9311 MB / 455.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2888, allocations: 63.45 kB / 455.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.2893, allocations: 323.1 kB / 455.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.2897, allocations: 315.9 kB / 456 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.2898, allocations: 29.81 kB / 456 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.2905, allocations: 276.5 kB / 456.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.2906, allocations: 72.78 kB / 456.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2909, allocations: 269.4 kB / 456.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.292, allocations: 0.787 MB / 457.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.292, allocations: 0 / 457.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.292, allocations: 4 kB / 457.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.292, allocations: 0 / 457.4 MB, free: 9.488 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.002644/0.2947, allocations: 0.983 MB / 458.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2947, allocations: 9.312 kB / 458.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.2948, allocations: 70.12 kB / 458.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.2951, allocations: 77.55 kB / 458.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/0.296, allocations: 435.1 kB / 459 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.296, allocations: 30.5 kB / 459 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.296, allocations: 32.56 kB / 459 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.2967, allocations: 360.1 kB / 459.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2967, allocations: 5.281 kB / 459.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2967, allocations: 10.53 kB / 459.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2967, allocations: 9.344 kB / 459.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.2972, allocations: 298.8 kB / 459.7 MB, free: 7.793 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.003095/0.3003, allocations: 2.488 MB / 462.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/0.3013, allocations: 453 kB / 462.6 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3015, allocations: 116.9 kB / 462.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3015, allocations: 7.609 kB / 462.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3016, allocations: 36.72 kB / 462.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.3016, allocations: 3.938 kB / 462.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002239/0.3038, allocations: 0.7273 MB / 463.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3039, allocations: 59.17 kB / 463.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.3043, allocations: 353.9 kB / 463.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3043, allocations: 34.69 kB / 463.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3045, allocations: 199.3 kB / 464.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3047, allocations: 130.7 kB / 464.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3048, allocations: 64.08 kB / 464.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.305, allocations: 351 kB / 464.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3051, allocations: 87.09 kB / 464.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3053, allocations: 139.4 kB / 464.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3057, allocations: 243.3 kB / 465.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3057, allocations: 1.188 kB / 465.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001034/0.3068, allocations: 450.8 kB / 465.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3068, allocations: 9.438 kB / 465.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3068, allocations: 5.031 kB / 465.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.3075, allocations: 149.4 kB / 465.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3078, allocations: 65.66 kB / 465.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.3109, allocations: 2.232 MB / 468 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.3113, allocations: 23.89 kB / 468.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3113, allocations: 8 kB / 468.1 MB, free: 496 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.0002115/0.3115, allocations: 169.7 kB / 468.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.3116, allocations: 39.77 kB / 468.3 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3127, allocations: 458 kB / 468.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3127, allocations: 4 kB / 468.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3127, allocations: 112 / 468.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3127, allocations: 7.922 kB / 468.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.3144, allocations: 1.03 MB / 469.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3144, allocations: 0 / 469.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.3147, allocations: 63.89 kB / 469.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006251/0.3153, allocations: 140.7 kB / 470 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3153, allocations: 11.94 kB / 470 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.3181, allocations: 2.176 MB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3181, allocations: 0 / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3192, allocations: 0.5245 MB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3194, allocations: 148.8 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.3194, allocations: 11.94 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3197, allocations: 19.92 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3198, allocations: 28.02 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3198, allocations: 8 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002918/0.3201, allocations: 251.2 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3201, allocations: 0 / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006171/0.3208, allocations: 159.9 kB / 473.3 MB, free: 11 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.001431/0.3222, allocations: 1.099 MB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008073/0.323, allocations: 427.1 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.323, allocations: 4 kB / 474.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.3235, allocations: 322.2 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.324, allocations: 61.48 kB / 475.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/0.3292, allocations: 3.481 MB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3297, allocations: 0.8117 MB / 479.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.3299, allocations: 38.94 kB / 479.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3301, allocations: 127.4 kB / 479.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3301, allocations: 0 / 479.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.3707, allocations: 10.82 MB / 490.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.48, allocations: 8.359 kB / 490.5 MB, free: 9.609 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