Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002264/0.002264, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1832/0.1832, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.003476/0.003476, allocations: 75.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4729, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006039/0.4789, allocations: 4.191 MB / 0.546 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.483, allocations: 2.468 MB / 0.5484 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.4832, allocations: 14.72 kB / 0.5485 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.4842, allocations: 332.4 kB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.4851, allocations: 386.8 kB / 0.5491 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.4859, allocations: 358.9 kB / 0.5495 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.4866, allocations: 0.6258 MB / 0.5501 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.487, allocations: 220 kB / 0.5503 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.4875, allocations: 280.6 kB / 0.5506 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.4878, allocations: 253 kB / 0.5508 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.4879, allocations: 41.38 kB / 0.5509 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.4888, allocations: 0.5004 MB / 0.5513 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.4889, allocations: 144.3 kB / 0.5515 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.4891, allocations: 157.7 kB / 0.5516 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.4901, allocations: 0.7576 MB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4901, allocations: 1.156 kB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4901, allocations: 0 / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4901, allocations: 0 / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001373/0.4915, allocations: 0.7345 MB / 0.5531 GB, free: 7.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4915, allocations: 17.3 kB / 0.5531 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.075e-05/0.4916, allocations: 63.75 kB / 0.5532 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.4926, allocations: 114.7 kB / 0.5533 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.4932, allocations: 337.5 kB / 0.5536 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.4932, allocations: 18.84 kB / 0.5536 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.4933, allocations: 27.8 kB / 0.5536 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.4943, allocations: 496.9 kB / 0.5541 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4943, allocations: 7.938 kB / 0.5541 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.4943, allocations: 7.875 kB / 0.5541 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.4943, allocations: 22.89 kB / 0.5541 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4955, allocations: 0.5224 MB / 0.5547 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.4979, allocations: 1.715 MB / 0.5563 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.4991, allocations: 405.1 kB / 0.5567 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.4995, allocations: 153.6 kB / 0.5569 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4995, allocations: 8 kB / 0.5569 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/0.5001, allocations: 301.4 kB / 0.5572 GB, free: 4.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 4.107e-06/0.5001, allocations: 3.984 kB / 0.5572 GB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001519/0.5016, allocations: 0.5587 MB / 0.5577 GB, free: 3.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.5018, allocations: 235.3 kB / 0.5579 GB, free: 3.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.5024, allocations: 417.6 kB / 0.5583 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.5024, allocations: 45.62 kB / 0.5584 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.5026, allocations: 204.6 kB / 0.5586 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5027, allocations: 107.4 kB / 0.5587 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5028, allocations: 73.7 kB / 0.5587 GB, free: 2.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.503, allocations: 350.8 kB / 0.5591 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.5034, allocations: 185.9 kB / 0.5593 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.504, allocations: 341.2 kB / 0.5596 GB, free: 1.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.505, allocations: 494.2 kB / 0.5601 GB, free: 1.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.505, allocations: 0 / 0.5601 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001227/0.5062, allocations: 0.5826 MB / 0.5606 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.5062, allocations: 37.7 kB / 0.5607 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5063, allocations: 8.031 kB / 0.5607 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.5063, allocations: 11.98 kB / 0.5607 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.5066, allocations: 91.88 kB / 0.5608 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5067, allocations: 11.94 kB / 0.5608 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.507, allocations: 59.64 kB / 0.5608 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.507, allocations: 20 kB / 0.5609 GB, free: 324 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.5072, allocations: 185.7 kB / 0.561 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.5073, allocations: 51.69 kB / 0.5611 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.5084, allocations: 472.7 kB / 0.5615 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5084, allocations: 11.98 kB / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5084, allocations: 0 / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5084, allocations: 4 kB / 0.5615 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.5094, allocations: 0.8303 MB / 0.5624 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5094, allocations: 0 / 0.5624 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.5097, allocations: 75.88 kB / 0.5624 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5097, allocations: 4 kB / 0.5624 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5098, allocations: 8 kB / 0.5624 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.5098, allocations: 7.984 kB / 0.5624 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5098, allocations: 4 kB / 0.5625 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.5108, allocations: 0.524 MB / 0.563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.5109, allocations: 55.58 kB / 0.563 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.511, allocations: 12 kB / 0.563 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.5112, allocations: 27.97 kB / 0.5631 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.5113, allocations: 39.88 kB / 0.5631 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.5113, allocations: 19.98 kB / 0.5631 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003363/0.5116, allocations: 299.2 kB / 0.5634 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5116, allocations: 0 / 0.5634 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.5121, allocations: 107.9 kB / 0.5635 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003108/0.5152, allocations: 1.504 MB / 0.565 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.5162, allocations: 480.8 kB / 0.5654 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5162, allocations: 1.125 kB / 0.5654 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.5167, allocations: 216 kB / 0.5656 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.5172, allocations: 90.09 kB / 0.5657 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.5231, allocations: 4.038 MB / 0.5697 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5234, allocations: 222 kB / 0.5699 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.5236, allocations: 91.19 kB / 0.57 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5238, allocations: 131.4 kB / 0.5701 GB, free: 6.629 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5238, allocations: 0 / 0.5701 GB, free: 6.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.5643, allocations: 10.48 MB / 0.5803 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.27, allocations: 64 / 0.5803 GB, free: 12.21 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! Error: Could not read variable windFarm.p[1] in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable windFarm.p[1] from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.387707571033388]